Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using Entity Objects
Message
From
08/12/2006 10:31:56
Bill Oeftering
Mainstreet Computers, Inc.
Belleville, Michigan, United States
 
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Environment versions
Environment:
C# 2.0
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01175267
Message ID:
01176071
Views:
10
Thanks
That works. fyi this doesn't:

Orders oOrder = new Orders();
OrderEntity oOrderEntity = new OrderEntity();
oOrder.GetEmptyDataSet();
oOrder.NewRow();
oOrderEntity.CUSTOMERID = "QUICK";
oOrderEntity.EMPLOYEEID = 5;
oOrderEntity.ORDERDATE = DateTime.Today;
oOrderEntity.REQUIREDDATE = DateTime.Today;
oOrderEntity.SHIPPEDDATE = DateTime.Today;
oOrderEntity.SHIPVIA = 3;
oOrderEntity.FREIGHT = 12.34M;
oOrderEntity.SHIPNAME = "QUICK-Stop";
oOrderEntity.SHIPADDRESS = "Taucherstraße 10";
oOrderEntity.SHIPCITY = "Cunewalde";
oOrderEntity.SHIPREGION = "01307";
oOrderEntity.SHIPCOUNTRY = "Germany";
oOrder.Entity=oOrderEntity;
oOrder.SaveDataSet();
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform