UI5 Basic
UI5 Basic
_________________________________________________________
------------------------------------------------------------------------
Save in package/Local
Continue
__________________________________________________________
Data Model
Service Implementation
Runtime Artifacts
Service Maintainence
________________________________________________________________
Note :
Entity Type : Entity Type is an option to maintain Collection of Fields with Data Type and Length
Note :
OData Service Project can have More than one Entity Type
OData Service Project can have More than one Entity Set
______________________________________________________________________
------------------------------------------------------------------------------
Next
Next
Select Atleast one Field Must be Key Field in Entity Type ( For ex : Userid )
Click Finish
_______________________________________________________________________
DEC Edm.Decimal
TIMS Edm.Time
DATS Edm.DateTime
CHAR Edm.String
NUMC Edm.String
RAWSTRING Edm.Binary
INT4 Edm.Int32
___________________________________________________________________________
____________________________________________________________________________
---------------------------------------------------------------------
Click Continue
Save in Package/Local
Finish
__________________________________________________________________________
Note : on Generating Runtime Artifacts , The List of Classes are AutoGenerated
_MPC
_MPC_EXT
_DPC
_DPC_EXT
_MDL
_SRV
___________________________________________________________________________
------------------------------
---------------------------------------------------------------
The Latest Metadata will be Updated as per DataModel inside Model Provider Class ( MPC )
______________________________________________________________________________
----------------------------------------------------
note : Model Provider Class is utilized by OData Service Framework to Execute the OData Functionalities
at Runtime
________________________________________________________________________________
_______________________
Data Provider Class Generates 5 CRUDQ Methods for Each and Every Entity Set
_____________________________________________________________________________
____________________________
Data Provider Extension Class is a Sub Class for Data Provider Class
so
Data Provider Extension Class will inherit all The 5 CRUDQ Methods of Data Provider Class
i,e
Finally Data Provider Extension Class contains Mainly 10 Important Methods for Implementing Database
operations
___________________________________________________________________________________
<EntitySet>Create_Entity( ) create( )
<EntitySet>Get_Entity( ) bindElement( )
<EntitySet>Update_Entity( ) update()
<EntitySet>Delete_Entity( ) remove( )
_____________________________________________________________________________________
________
Note : The Front-End SAP Ui5/Fiori Methods will trigger Backend OData Service DPC_EXT Class methods
_____________________________________________________________________________________
_________