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) });
internal SchemaMember(EntityPropertyToken token, IEnumerable <IEntityMetadata> ancestors = null) { this.Token = token; this.Ancestors = ancestors; }
public FieldIdentifier CreateField(IEntityPropertyMetadata property) { return(new FieldIdentifier(this, property.GetFieldName(out var alias), alias) { Token = new EntityPropertyToken(property) });