Метод | Описание | |
---|---|---|
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.
|
Метод | Описание | |
---|---|---|
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. |
Результат | 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. |
Результат | System |
public ValidateEntities ( Dictionary |
||
saveMap | Dictionary |
Map of type to entities. |
throwIfInvalid | bool | If true, throws an EntityErrorsException if any entity is invalid |
Результат | 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 |
Результат | bool |