예제 #1
0
 internal void AddEntityField(EntityField field)
 {
     BaseFieldsByFieldName.Add(field.Name, field);
     BaseFieldsByPropertyName.Add(field.PropertyName, field);
     FieldsByFieldName.Add(field.Name, field);
     FieldsByPropertyName.Add(field.PropertyName, field);
 }
예제 #2
0
 internal void AddEntityRelationsToMany(EntityRelation relation)
 {
     BaseFieldsByFieldName.Add(relation.TableKey, relation);
     BaseFieldsByPropertyName.Add(relation.PropertyName, relation);
     RelationsToManyByFieldName.Add(relation.TableKey, relation);
     RelationsToManyByPropertyName.Add(relation.PropertyName, relation);
 }
예제 #3
0
 internal void AddEntityKey(EntityKey key)
 {
     BaseFieldsByFieldName.Add(key.Name, key);
     BaseFieldsByPropertyName.Add(key.PropertyName, key);
     PrimaryKeysByFieldName.Add(key.Name, key);
     PrimaryKeysByPropertyName.Add(key.PropertyName, key);
 }