Class ModelDbColumnList
cache object for the available columnlist to edit in the database
Inheritance
System.Object
ModelDbColumnList
Namespace: Simplic.Framework.DAL.DatabaseMetadata
Assembly: Simplic.Framework.DAL.dll
Syntax
public class ModelDbColumnList : ICacheable
Constructors
| Improve this Doc View SourceModelDbColumnList(String, String, IDictionary<String, String>)
inits the cached data
Declaration
public ModelDbColumnList(string tableName, string typeName, IDictionary<string, string> columns)
Parameters
Type | Name | Description |
---|---|---|
System.String | tableName | database table |
System.String | typeName | type of the model |
System.Collections.Generic.IDictionary<System.String, System.String> | columns | list of available column |
Properties
| Improve this Doc View SourceColumns
gets and sets the available columns
Declaration
public IDictionary<string, string> Columns { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IDictionary<System.String, System.String> |
Key
gets the key of the cache object
Declaration
public string Key { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
| Improve this Doc View SourceOnRemove()
removes all entries
Declaration
public void OnRemove()