Skip to main content

DataSourceFactory Members

Provides methods that allow you to configure data access from different sources.

Constructors

Name Description
DataSourceFactory(OptionsOwnerContext) For internal use only. Initializes a new DataSourceFactory class instance.

Methods

Name Description
Array() Configures access to a collection: Array, List, or IEnumerable.
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.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
Mvc() Configures access to an API controller.
OData() Configures access to an OData service.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
RemoteController() Configures access to a data controller on a different site or to a Razor page handler.
StaticJson() Configures access to read-only data in JSON format.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also