General information
Category:
The Mere Mortals .NET Framework
Title:
Accessing Business Object and there fields
Hi Kevin !
I wanted to work with my Business Object directly , not in Win/Web form. ( to manipulate the Data, do batch updates , Run statistics about the records etc.)
How can I work with the object as BO for example:
Orders oOrders = new Orders();
oOrders.GetAllOrders()
foeach (Order oOrder IN oOrders.Orders)
if (oOrder.OrderDate.ToString() > "01/01/2003")
{
// do some action
oOrder.Expired = true;
oOrder.Save();
}
TIA
Shai
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only