This commit is contained in:
2020-01-21 19:02:06 +00:00
parent 6f3fd64c62
commit 2e6fc03956
4 changed files with 110 additions and 54 deletions

View File

@@ -5,19 +5,23 @@ namespace AyaNova.DataList
internal interface IAyaDataList
{
//Unique key to identify this list
string ListKey { get; }
string ListKey { get; set; }
//sql query from fragment with table joins et
string SQLFrom { get; }
string SQLFrom { get; set; }
//List of fields for this object
List<AyaDataListFieldDefinition> FieldDefinitions { get; }
List<AyaDataListFieldDefinition> FieldDefinitions { get; set; }
//allowed roles to access this list
AuthorizationRoles AllowedRoles { get; }
AuthorizationRoles AllowedRoles { get; set; }
//Default object type to open for rows of this list (use no object if no)
AyaType DefaultListObjectType { get; }
AyaType DefaultListObjectType { get; set; }
string GenerateMINIListColumnsJSON();
string GenerateListColumnsJSONFromTemplate(string template);
}
}