示例#1
0
        private FieldBuilder Consume(Main.Field field)
        {
            _fields.Add(field);
            var fieldsBuilder = this;

            return(new FieldBuilder(ref fieldsBuilder, ref field));
        }
示例#2
0
        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;
 }
示例#5
0
 public FieldBuilder(ref FieldsBuilder fieldsBuilder, ref Main.Field field)
 {
     _fieldsBuilder = fieldsBuilder;
     _field         = field;
 }