Pages

Thursday, September 1, 2011

C# with .net

How to use active record design pattern .net
Active Record pattern consists on instance properties representing a record in
the database,instance methods acting on that specific record and static methods
acting on all records.
this one is a sample method of the active record pattern.how write in class used for the method 

1.Create the public properties



2.Define the constructors


3.Write the public method with passing SP parameter




4.Finely populate the public properties

No comments:

Post a Comment