ODataSourceBuilder Methods
Provides methods that allow you to configure access to an OData service.Name | Description |
---|---|
BeforeSend(RazorBlock) | A function used to customize a web request before it is sent. |
BeforeSend(String) | A function used to customize a web request before it is sent. |
DeserializeDates(Boolean) | Specifies whether or not dates found in the response are deserialized. |
Equals(Object, Object) static | Determines whether the specified object instances are considered equal. Inherited from Object. |
Equals(Object) | Determines whether the specified object is equal to the current object. Inherited from Object. |
ErrorHandler(RazorBlock) | A function that is executed when an error occurs. |
ErrorHandler(String) | A function that is executed when an error occurs. |
Expand(String[]) | Specifies the navigation properties that are loaded with the OData entity. |
FieldTypes(IDictionary<String, EdmType>) | Specifies the types of data fields. |
FilterToLower(Boolean) | |
GetHashCode() | Serves as the default hash function. Inherited from Object. |
GetType() | Gets the Type of the current instance. Inherited from Object. |
JSONP(Boolean) | Specifies whether the ODataStore uses the JSONP approach to access non-CORS-compatible remote services. |
Key(String[]) | Specifies the key property or properties. |
KeyType(EdmType) | Specifies the type of the key property or properties. |
KeyType(IDictionary<String, EdmType>) | Specifies the type of the key property or properties. |
MemberwiseClone() protected | Creates a shallow copy of the current Object. Inherited from Object. |
OnInserted(RazorBlock) | Mirrors the client-side onInserted option. |
OnInserted(String) | A function that is executed after a data item is added. |
OnInserting(RazorBlock) | Mirrors the client-side onInserting option. |
OnInserting(String) | A function that is executed before a data item is added. |
OnLoaded(RazorBlock) | Mirrors the client-side onLoaded option. |
OnLoaded(String) | A function that is executed after data is loaded. |
OnLoading(RazorBlock) | Mirrors the client-side onLoading option. |
OnLoading(String) | A function that is executed before data is loaded. |
OnModified(RazorBlock) | Mirrors the client-side onModified option. |
OnModified(String) | A function that is executed after a data item is added, updated, or removed. |
OnModifying(RazorBlock) | Mirrors the client-side onModifying option. |
OnModifying(String) | A function that is executed before a data item is added, updated, or removed. |
OnPush(RazorBlock) | Mirrors the client-side onPush option. |
OnPush(String) | A function that is executed before changes are pushed. |
OnRemoved(RazorBlock) | Mirrors the client-side onRemoved option. |
OnRemoved(String) | A function that is executed after a data item is removed. |
OnRemoving(RazorBlock) | Mirrors the client-side onRemoving option. |
OnRemoving(String) | A function that is executed before a data item is removed. |
OnUpdated(RazorBlock) | Mirrors the client-side onUpdated option. |
OnUpdated(String) | A function that is executed after a data item is updated. |
OnUpdating(RazorBlock) | Mirrors the client-side onUpdating option. |
OnUpdating(String) | A function that is executed before a data item is updated. |
ReferenceEquals(Object, Object) static | Determines whether the specified Object instances are the same instance. Inherited from Object. |
ToString() | Returns a string that represents the current object. Inherited from Object. |
Url(String) | Specifies the URL of the OData entity to access. |
Version(Int32) | Specifies the version of the OData protocol used to interact with the data service. |
WithCredentials(Boolean) | Specifies whether to send cookies and authorization headers to foreign domains in a cross-origin request. |
See Also