private FieldBuilder Consume(Main.Field field) { _fields.Add(field); var fieldsBuilder = this; return(new FieldBuilder(ref fieldsBuilder, ref field)); }
public FieldBuilder Field(string name) { var field = new Main.Field(Main.FieldType.NonKey) { Name = name, Alias = name }; return(Consume(field)); }
public FieldBuilder Field(string name) { var field = new Main.Field(Main.FieldType.NonKey) { Name = name, Alias = name }; return Consume(field); }
public FieldBuilder(ref FieldsBuilder fieldsBuilder, ref Main.Field field) { _fieldsBuilder = fieldsBuilder; _field = field; }