public IField Date(string name) { var field = new ScalarField(this._entity, name, FieldType.Date); this.Add(name, field); return(field); }
public IField Integer(string name) { var field = new ScalarField(this._entity, name, FieldType.Integer); this.Add(name, field); return(field); }
public IField Binary(string name) { var field = new ScalarField(this._entity, name, FieldType.Binary); this.Add(name, field); return(field); }
private void AddInternalFields() { Debug.Assert(!this.Fields.ContainsKey(IdFieldName)); var idField = new ScalarField(this, IdFieldName, FieldType.Identifier) .WithRequired().WithReadonly(); this.fields.Add(IdFieldName, idField); }