DataService<T>.CreateDataSource Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a data source of the template class that will be used by the data service.
protected:
virtual T CreateDataSource();
protected virtual T CreateDataSource ();
abstract member CreateDataSource : unit -> 'T
override this.CreateDataSource : unit -> 'T
Protected Overridable Function CreateDataSource () As T
Returns
T
An instance of the data source.
Remarks
By default, a constructor without parameters on the type will be used if available.
Applies to
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.