ICustomEntityValidationConfigurationManager Interface |
[This is preliminary documentation and is subject to change.]
Namespace: Netadmin.Management.EntityValidation
public interface ICustomEntityValidationConfigurationManager : IManager<IValidationRuleset>, ICruddableBatch<IValidationRuleset>, ICreateableBatch<IValidationRuleset>, IDetailsableBatch<IValidationRuleset>, IUpdateableBatch<IValidationRuleset>, IDeletableBatch<IValidationRuleset>, IGetAllable<IValidationRuleset>
The ICustomEntityValidationConfigurationManager type exposes the following members.
Name | Description | ||
---|---|---|---|
![]() | void | AddOrUpdateRules(IEnumerableIValidationRule) |
Adds or updates rules. The id of the rule is ignored on updates, but must be 0 for creation. Rules are identified by the combination of RulesetId and PropertyKey
|
![]() | IEnumerableT | Create(IEnumerableT) |
Creates multiple entities in one operation
(Inherited from ICreateableBatchT.) |
![]() | void | Delete(IEnumerableInt64) |
Deletes multiple entities in one operation
(Inherited from IDeletableBatchT.) |
![]() | IReadOnlyDictionaryTKey, TValue, T: Int64 | DetailsAny(IEnumerableInt64) |
Attempts to get details on multiple ids. If an id is not found, it will not be included in the returned dictionary
(Inherited from IDetailsableBatchT.) |
![]() | IDictionaryTKey, TValue, T: Int64 | GetActiveRulesFor(Guid, IEnumerableInt64) |
Retrieves resolved rules for a specific entity key and companies
|
![]() | IEnumerableT | GetAll |
Retrieves every entity
(Inherited from IGetAllableT.) |
![]() | IEnumerableT, T: IValidationRule | GetRules(Int64) |
Retrieves configured rules for a specific ruleset
|
![]() | void | RemoveRules(IEnumerableInt64) |
Removes rules
|
![]() | void | Update(IEnumerableT) |
Updates multiple entities in one operation
(Inherited from IUpdateableBatchT.) |
Name | Description | ||
---|---|---|---|
![]() | IValidationRuleset | CreateIValidationRuleset(IValidationRuleset) | (Defined by CreateableBatchExtensions.) |
![]() | void | DeleteIValidationRuleset(Int64) | (Defined by DeletableBatchExtensions.) |
![]() | IValidationRuleset | DetailsAllIValidationRuleset(Int64) | Overloaded. (Defined by DetailsableBatchExtensions.) |
![]() | IReadOnlyDictionaryTKey, TValue, T: Int64 | DetailsAllIValidationRuleset(IEnumerableInt64) | Overloaded. (Defined by DetailsableBatchExtensions.) |
![]() | IValidationRuleset | DetailsAnyIValidationRuleset(Int64) | IDetailsableBatchT
Returns details of entity with id 'id', or null if not found
Thrown if any id zero or less. (Defined by DetailsableBatchExtensions.) |
![]() | void | UpdateIValidationRuleset(IValidationRuleset) | (Defined by UpdateableBatchExtensions.) |