public virtual Boolean isRequiredField(ExportFieldType fType, ExporPathData exportData) { Boolean found = false; if (Fields.Any()) { found = Fields.Where(f => f.Type == fType && f.isAvailable(exportData)).Any(); } return(found); }
public virtual ExportField GetField(ExportFieldType fType) { return(Fields.Any() ? Fields.Where(f => f.Type == fType && f.Deleted == BaseStatusDeleted.None).FirstOrDefault() : null); }