ServiceSchema:registerFileRelation("Customer","BillTo","CustNum,CustNum","Customer_BillTo"). An included relation generator tool helps you to get this done – at least a first shot. Relations are registered similar to files in the include file. ServiceSchema:registerView("OrderView","Order,OrderLine",2). ServiceSchema:registerFile(_file._file-name). ServiceSchema:DatabaseName = "sports2000".įOR EACH sports2000._file WHERE _file._hidden = FALSE NO-LOCK: METHOD OVERRIDE PUBLIC VOID registerSchema( ): USING FROM PROPATH.ĬLASS ListLabelDemo.Sports2000Service INHERITS OpenEdgeService:ĬONSTRUCTOR PUBLIC Sports2000Service ( ): The music plays in the generic OpenEdge Service class you inherit from. All you have to do is to register all of your database tables and to define relations. If you want generic access to your entire database, create a service class similar to the Sports2000 demo service.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |