Class CRUDModel<T>
Inheritance
System.Object
CRUDModel<T>
Namespace: Syncfusion.EJ2.Base
Assembly: Syncfusion.EJ2.dll
Syntax
public class CRUDModel<T> : Object where T : class
Type Parameters
Name |
---|
T |
Constructors
CRUDModel()
Declaration
public CRUDModel()
Properties
Action
Specifies the action initiated the request.
Declaration
public string Action { get; set; }
Property Value
Type |
---|
System.String |
Added
Specifies the List<> added records while batch editing.
Declaration
public List<T> Added { get; set; }
Property Value
Type |
---|
System.Collections.Generic.List<T> |
Remarks
The Added property will holds values on batch editing only
Changed
Specifies the List<> updated records while batch editing.
Declaration
public List<T> Changed { get; set; }
Property Value
Type |
---|
System.Collections.Generic.List<T> |
Remarks
The Changed property will holds values on batch editing only
Deleted
Specifies the List<> deleted records while batch editing.
Declaration
public List<T> Deleted { get; set; }
Property Value
Type |
---|
System.Collections.Generic.List<T> |
Remarks
The Deleted property will holds values on batch editing only
Key
Specifies the Primary key value.
Declaration
public object Key { get; set; }
Property Value
Type |
---|
System.Object |
KeyColumn
Specifies the Primary key column name.
Declaration
public string KeyColumn { get; set; }
Property Value
Type |
---|
System.String |
Params
Holds the additional parameters passed.
Declaration
public IDictionary<string, object> Params { get; set; }
Property Value
Type |
---|
System.Collections.Generic.IDictionary<System.String, System.Object> |
Table
Specifies the Table name(if any) to be updated.
Declaration
public string Table { get; set; }
Property Value
Type |
---|
System.String |
Value
Specifies the modified/added record.
Declaration
public T Value { get; set; }
Property Value
Type |
---|
T |