public FieldIdentifier CreateField(IEntityPropertyMetadata property)
        {
            if (property == null)
            {
                throw new ArgumentNullException(nameof(property));
            }

            return(new FieldIdentifier(this, property.GetFieldName(out var alias), alias)
            {
                Token = new EntityPropertyToken(property)
            });
Exemplo n.º 2
0
 internal SchemaMember(EntityPropertyToken token, IEnumerable <IEntityMetadata> ancestors = null)
 {
     this.Token     = token;
     this.Ancestors = ancestors;
 }
Exemplo n.º 3
0
 public FieldIdentifier CreateField(IEntityPropertyMetadata property)
 {
     return(new FieldIdentifier(this, property.GetFieldName(out var alias), alias)
     {
         Token = new EntityPropertyToken(property)
     });