Пример #1
0
        public FieldIdentifier CreateField(IDataEntityProperty property)
        {
            if (property == null)
            {
                throw new ArgumentNullException(nameof(property));
            }

            return(new FieldIdentifier(this, property.GetFieldName(out var alias), alias)
            {
                Token = new DataEntityPropertyToken(property)
            });
Пример #2
0
 internal SchemaMember(DataEntityPropertyToken token, IEnumerable <IDataEntity> ancestors = null)
 {
     this.Token     = token;
     this.Ancestors = ancestors;
 }