Méthode | Description | |
---|---|---|
BreezeMetadataValidator ( |
Create a new instance.
|
|
BreezeMetadataValidator ( |
Create a new instance.
|
|
ValidateEntities ( Dictionary |
Validate all the entities in the saveMap.
|
|
ValidateEntity ( |
Validates a single entity. Skips validation (returns true) if entity is marked Deleted.
|
Méthode | Description | |
---|---|---|
BuildDataProperty ( object>.Dictionary |
||
BuildStructuralTypeMap ( object>.List |
||
BuildValidator ( object>.Dictionary |
public BreezeMetadataValidator ( |
||
contextProvider | Used for getting entity keys for building EntityError objects. | |
breezeMetadata | object>.IDictionary | Contains breeze metadata. The structuralTypeList is extracted from it. |
Résultat | System |
public BreezeMetadataValidator ( |
||
contextProvider | Used for getting entity keys for building EntityError objects. | |
structuralTypeList | object>.List | Contains the validator information for properties of entity and complex types. |
Résultat | System |
public ValidateEntities ( Dictionary |
||
saveMap | Dictionary |
Map of type to entities. |
throwIfInvalid | bool | If true, throws an EntityErrorsException if any entity is invalid |
Résultat | List |
public ValidateEntity ( |
||
entityInfo | contains the entity to validate | |
entityErrors | List |
An EntityError is added to this list for each error found in the entity |
Résultat | bool |