Online Tutorials & Training Materials | STechies.com
Register Login
Advertisement

Difference Between Model Provider Class and Data Provider Class?

|| || 1

Difference Between Model Provider Class and Data Provider Class?
Stechies

Hello Experts,

 Gateway services internally generates four main class. 

1. Model provider class 
2. Model provider Extension class 
3. Data provider class
4. Data provider Extension class

My Question is : what is difference between Model provider class and data provider class.

Please share your valuable answer. Thanks in advance.


Comments

  • 30 Sep 2015 12:13 pm Best Answer

    Model Provider Class

    Model Provider class registers the metadata used in a service, it is nothing but base class and model provider extension class is nothing but derived class.

    Model provider Extension class 

    Model provider Extension class is derived class of Module Provider Class

    Data Provider Class

    Data provider class provides the methods to Data provider Extension class, so developer can implement the functionalities for database interaction.

    MPC is a Parent class and MPC_EXT->child class
    MPC is used to define model you can use the method Define create entity and properties.

    Model Provider class registers the metadata used in a service. Data provider class provides the methods to Data provider Extension class, so developer can implement the functionalities for database interaction.


Advertisement
Advertisement
Advertisement