protected Field AddField(string fieldName, string aka) { Field field = new Field(fieldName); this[fieldName] = field; if (this.Adapter != null) { this.Adapter.mapKey(aka, fieldName); } return field; }
protected Field AddIdField(string fieldName, string aka) { this.IdField = fieldName; Field field = new Field(fieldName); this[this.IdField] = field; if (this.IsUsingAdapter) { this.Adapter.mapKey(aka, fieldName); this.IdField = aka; } return field; }
// Methods protected Field AddField(string fieldName) { Field field = new Field(fieldName); this[fieldName] = field; return field; }