public static FieldDef AddComplexCollection(this IContainsFields fields, string name) { var fieldDef = fields.AddField(name, DataType.Complex); fieldDef.IsCollection = true; return(fieldDef); }
public static FieldDef AddEntityCollection(this IContainsFields fields, string name, string memberEntityName) { var fieldDef = fields.AddField(name, DataType.Entity); fieldDef.IsCollection = true; fieldDef.DataTypeEntityName = memberEntityName; return(fieldDef); }
public static FieldDef AddCalcField(this IContainsFields container, string name, DataType dataType, string expression) { var fieldDef = container.AddField(name, dataType); fieldDef.IsCalculated = true; fieldDef.Calc.FormulaText = expression; return(fieldDef); }
public static FieldDef AddComplexField(this IContainsFields fields, string name) { var fieldDef = fields.AddField(name, DataType.Complex); return(fieldDef); }