IAppControllerDataItemClass Interface |
Namespace: SOWIApp.Foundation
The IAppControllerDataItemClass type exposes the following members.
Name | Description | |
---|---|---|
DataGridView |
Form SOWI App Foundation App Standard see DataGridView |
Name | Description | |
---|---|---|
Delete |
Form SOWI Data Database Connector see Delete(Int32) | |
GetByID |
Form SOWI Data Database Connector see GetByID(Int32) | |
GetView(ListViewConfig, DictionaryString, String) |
Form SOWI App Foundation App Standard see GetView(ListViewConfig, DictionaryString, String) | |
GetView(ListViewConfig, String, DictionaryString, String) |
Form SOWI App Foundation App Standard see GetView(ListViewConfig, String, DictionaryString, String) | |
Import(String) |
Data import - not implemented
| |
Import(Stream, String, String) |
Data import (partly not implemented).
Applicable on web controller by method with parameter object System.Web.HttpPostedFileBase
| |
Insert |
Form SOWI Data Database Connector see Insert(DataItemClass) | |
PermissionCheck |
Form SOWI App Foundation App Standard see PermissionCheck(CRUD) | |
Update |
Form SOWI Data Database Connector see Update(DataItemClass) | |
Upload(String) |
Data content upload - not implemented
| |
Upload(DataItemClass, FileContent) |
Data content upload (partly not implemented)
| |
Validate |
Form SOWI Data Database Connector see Validate(DataItemClass, Actions) |
Code example for properties and methods see his members
/// <summary> /// A simple SOWI App controller based on <see cref="SOWIApp.Foundation.IAppController{DataItemClass}"/> /// </summary> public class SOWIAppController : SOWIApp.Foundation.IAppController<SOWIDataModel> { /// <summary> /// Constructor without parameter /// </summary> public SOWIAppController() { } public List<SOWIData.Management.DataGrid> DataGridView { get { throw new NotImplementedException(); } } public void Delete(int pID) { throw new NotImplementedException(); } public SOWIDataModel GetByID(int pID) { throw new NotImplementedException(); } public List<SOWIDataModel> GetView(ref SOWIData.Management.ListViewConfig pViewConfig, Dictionary<string, string> pDictionaryUI = null) { throw new NotImplementedException(); } public List<SOWIDataModel> GetView(out SOWIData.Management.ListViewConfig pViewConfig, string pViewName, Dictionary<string, string> pDictionaryUI = null) { throw new NotImplementedException(); } public void Import(string pFile) { throw new NotImplementedException(); } public void Import(Stream pStream, string pFileName = "", string pContentType = "") { throw new NotImplementedException(); } public SOWIDataModel Insert(SOWIDataModel pItem) { throw new NotImplementedException(); } public bool PermissionCheck(SOWIData.Management.CRUD[] pClaims) { throw new NotImplementedException(); } public SOWIDataModel Update(SOWIDataModel pItem) { throw new NotImplementedException(); } public void Upload(string pFile) { throw new NotImplementedException(); } public void Upload(ref SOWIDataModel pItem, SOWIData.Helper.Models.FileContent pFileContent) { throw new NotImplementedException(); } public SOWIData.Helper.ModelState Validate(SOWIDataModel pItem, SOWIData.Actions pAction) { throw new NotImplementedException(); } }