Class DataSourceBuilder
Inheritance
System.Object
DataSourceBuilder
Implements
System.Web.IHtmlString
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: Syncfusion.EJ.dll
Syntax
public class DataSourceBuilder : IPropertiesBuilder, IHtmlString
Constructors
DataSourceBuilder(DataControl)
Declaration
public DataSourceBuilder(DataControl dataManger)
Parameters
DataSourceBuilder(DataSource)
Declaration
public DataSourceBuilder(DataSource dataSource)
Parameters
Fields
dataManger
Declaration
public DataControl dataManger
Field Value
dataSource
Declaration
public DataSource dataSource
Field Value
Methods
Accept(Boolean)
Declaration
public DataSourceBuilder Accept(bool requireFormat)
Parameters
Type |
Name |
Description |
System.Boolean |
requireFormat |
|
Returns
Accept(String)
Declaration
public DataSourceBuilder Accept(string accept)
Parameters
Type |
Name |
Description |
System.String |
accept |
|
Returns
Adaptor(AdaptorType)
Declaration
public DataSourceBuilder Adaptor(AdaptorType adaptor)
Parameters
Returns
Adaptor(String)
Declaration
public DataSourceBuilder Adaptor(string adaptor)
Parameters
Type |
Name |
Description |
System.String |
adaptor |
|
Returns
BatchURL(String)
Declaration
public DataSourceBuilder BatchURL(string batchURL)
Parameters
Type |
Name |
Description |
System.String |
batchURL |
|
Returns
CachingPageSize(Int32)
Declaration
public DataSourceBuilder CachingPageSize(int cachingPageSize)
Parameters
Type |
Name |
Description |
System.Int32 |
cachingPageSize |
|
Returns
CrossDomain(Boolean)
Declaration
public DataSourceBuilder CrossDomain(bool crossDomain)
Parameters
Type |
Name |
Description |
System.Boolean |
crossDomain |
|
Returns
CrudURL(String)
Declaration
public DataSourceBuilder CrudURL(string crudUrl)
Parameters
Type |
Name |
Description |
System.String |
crudUrl |
|
Returns
DataType(String)
Declaration
public DataSourceBuilder DataType(string dataType)
Parameters
Type |
Name |
Description |
System.String |
dataType |
|
Returns
EnableAjaxCache(Boolean)
Declaration
public DataSourceBuilder EnableAjaxCache(bool enableAjaxCache)
Parameters
Type |
Name |
Description |
System.Boolean |
enableAjaxCache |
|
Returns
EnableAntiForgery(Boolean)
Declaration
public DataSourceBuilder EnableAntiForgery(bool enableAntiForgery)
Parameters
Type |
Name |
Description |
System.Boolean |
enableAntiForgery |
|
Returns
EnableCaching()
Declaration
public DataSourceBuilder EnableCaching()
Returns
Declaration
public DataSourceBuilder Headers(Action<HeaderBuilder> headers)
Parameters
Returns
Declaration
public DataSourceBuilder Headers(object headers)
Parameters
Type |
Name |
Description |
System.Object |
headers |
|
Returns
InsertURL(String)
Declaration
public DataSourceBuilder InsertURL(string insertUrl)
Parameters
Type |
Name |
Description |
System.String |
insertUrl |
|
Returns
Json(Object)
Declaration
public DataSourceBuilder Json(object json)
Parameters
Type |
Name |
Description |
System.Object |
json |
|
Returns
Jsonp(String)
Declaration
public DataSourceBuilder Jsonp(string jsonp)
Parameters
Type |
Name |
Description |
System.String |
jsonp |
|
Returns
Key(String)
Declaration
public DataSourceBuilder Key(string key)
Parameters
Type |
Name |
Description |
System.String |
key |
|
Returns
Offline(Boolean)
Declaration
public DataSourceBuilder Offline(bool offline)
Parameters
Type |
Name |
Description |
System.Boolean |
offline |
|
Returns
RemoveURL(String)
Declaration
public DataSourceBuilder RemoveURL(string removeUrl)
Parameters
Type |
Name |
Description |
System.String |
removeUrl |
|
Returns
Render()
Declaration
SerializerMode(SerializerMode)
Declaration
public DataSourceBuilder SerializerMode(SerializerMode serializerMode)
Parameters
Returns
SerializerSettings(JsonSerializerSettings)
Declaration
public DataSourceBuilder SerializerSettings(JsonSerializerSettings serializerSettings)
Parameters
Type |
Name |
Description |
Newtonsoft.Json.JsonSerializerSettings |
serializerSettings |
|
Returns
Table(String)
Declaration
public DataSourceBuilder Table(string table)
Parameters
Type |
Name |
Description |
System.String |
table |
|
Returns
TimeTillExpiration(Nullable<Int32>)
Declaration
public DataSourceBuilder TimeTillExpiration(int? timeToExpire)
Parameters
Type |
Name |
Description |
System.Nullable<System.Int32> |
timeToExpire |
|
Returns
ToHtmlString()
Declaration
public string ToHtmlString()
Returns
Type |
Description |
System.String |
|
UpdateURL(String)
Declaration
public DataSourceBuilder UpdateURL(string updateUrl)
Parameters
Type |
Name |
Description |
System.String |
updateUrl |
|
Returns
URL(String)
Declaration
public DataSourceBuilder URL(string url)
Parameters
Type |
Name |
Description |
System.String |
url |
|
Returns
Implements
System.Web.IHtmlString