Quantcast
Channel: C1 CMS Foundation - Open Source on .NET
Viewing all articles
Browse latest Browse all 2540

New Post: Need help with understanding custom data providers.

$
0
0
Hi All;

I am struggling to wrap my head around how exactly the data providers operate within C1.

Here is my current understanding:

I can implement the IDataProvider interface for a read-only data provider, and the IWritableDataProvider for a read/write data provider.

The Composite.config has a section where I can register my custom data provider.

When implementing a data provider interface I am required to specify the types that my data provider supports/operates on.

Composite essentially has a base/default data provider, which could be in the flavour of the XmlDataProvider (or the SqlDataProvider if it was installed).

Oki, now my questions

Are my assumptions above correct?

If I don't register my custom provider, and no other custom providers are found within the Composite.config, would the composite Data system simply default to using the Xml/SqlDataProvider?


Thanks;

Viewing all articles
Browse latest Browse all 2540

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>