Can a BO be based on a Web Service?


Author
Message
Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
StrataFrame allows you to create your own DAL just as we have created the SQL, Oracle, VFP, Access, and Enterprise Server DALs.  You can create your own DAL to talk to anything that you would like....even a text file if you had the desire.  When you create a DAL you will inherit the DbDataSourceItem class which will provide the structure and layout required by the framework.  Once you have your DAL class created it can be used over and over again.  Additionally, it ties seamlessly into the framework and the business layer so all of the internal ADO.NET components will be there and will act no different than if you were using SQL Server. 
Yoyo Young
Yoyo Young
StrataFrame Beginner (8 reputation)StrataFrame Beginner (8 reputation)StrataFrame Beginner (8 reputation)StrataFrame Beginner (8 reputation)StrataFrame Beginner (8 reputation)StrataFrame Beginner (8 reputation)StrataFrame Beginner (8 reputation)StrataFrame Beginner (8 reputation)StrataFrame Beginner (8 reputation)
Group: Forum Members
Posts: 8, Visits: 17
Hi,

In above case, I mean use WS as data access layer.
Can I call ADO.NET data table which is exposed through the CurrentDataTable, CurrentView, and CurrentRow properties in BO?

Yoyo

Greg McGuffey
Greg McGuffey
Strategic Support Team Member (3.5K reputation)
Group: Forum Members
Posts: 2K, Visits: 6.6K
That makes sense. Thanks.
StrataFrame Team
S
StrataFrame Developer (4.6K reputation)StrataFrame Developer (4.6K reputation)StrataFrame Developer (4.6K reputation)StrataFrame Developer (4.6K reputation)StrataFrame Developer (4.6K reputation)StrataFrame Developer (4.6K reputation)StrataFrame Developer (4.6K reputation)StrataFrame Developer (4.6K reputation)StrataFrame Developer (4.6K reputation)
Group: StrataFrame Developers
Posts: 3K, Visits: 2.5K
The closest thing would be to create the structure of the web service return value within the DDT and build your business object from that.  Then, have the web service return a DataTable and use one of the CopyDataFrom methods of the business object to copy the data into the business object.
Greg McGuffey
Greg McGuffey
Strategic Support Team Member (3.5K reputation)
Group: Forum Members
Posts: 2K, Visits: 6.6K
If it can, how?
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search