메소드 | 설명 | |
---|---|---|
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 |