/// <summary>
 /// Create a new instance.
 /// </summary>
 /// <param name="persistenceManager">Used for getting entity keys for building EntityError objects.</param>
 /// <param name="structuralTypeList">Contains the validator information for properties of entity and complex types.</param>
 public BreezeEntityValidator(PersistenceManager persistenceManager, List <MetaType> structuralTypeList)
 {
     this._persistenceManager = persistenceManager;
     this._structuralTypeMap  = BuildStructuralTypeMap(structuralTypeList);
 }