开发者

How do we extend CSLA.NET if we wanted to have our own business objects using c#

开发者 https://www.devze.com 2022-12-22 12:10 出处:网络
can we create our own platform/objects and interact it with CSLA.NET, is this possible or not? Can som开发者_JAVA技巧ebody out there who has more experience in CSLA.NET can help or advice. Thank youTh

can we create our own platform/objects and interact it with CSLA.NET, is this possible or not? Can som开发者_JAVA技巧ebody out there who has more experience in CSLA.NET can help or advice. Thank you


The real question here is: Your platform/objects will need CSLA?

First you need know what is csla and how you can use it?

CSLA is a framework to develop business objects, the framework provide a easy way to implement your business and validation rules, providing authorization checker in the object life cycle.

Csla implements a proxy (dataportal) to use your objects from web and windows application without any change. The csla objects can be easily bind to controls full functionality of error check. The nice work done in csla let you split your application follow a MDA and let for example the data access work to linq to sql.

So you must search in the functionality that you expect have your plataform/objects, if your object not will work with the business logic (very rare but posible), you could let that work to csla, if your object will do it doest not have any sense duplicate the functionality.

For more information about csla you can go to the owner web site at: http://www.lhotka.net/cslanet/Info.aspx.

0

精彩评论

暂无评论...
验证码 换一张
取 消