why the Generated class 's property type is Unknown?

Anything that doesn't fall into the defect or enhancement categories

why the Generated class 's property type is Unknown?

Postby tenvick on Fri Aug 17, 2007 3:55 am

Generated From - CSharp_EasyObject_BusinessEntity.vbgen
// Generated by MyGeneration Version # (1.2.0.7)

using System;
using System.Data;
using System.Data.Common;
using System.Configuration;
using System.Collections;
using System.Collections.Specialized;
using System.Xml;
using System.IO;

using Microsoft.Practices.EnterpriseLibrary.Data;
using NCI.EasyObjects;

namespace Your.Namespace
{

#region Schema

public class OrdersSchema : NCI.EasyObjects.Schema
{
private static ArrayList _entries;
public static SchemaItem OrderId = new SchemaItem(\"OrderId\", Unknown, true, false, false, true, true, false);
public static SchemaItem UserId = new SchemaItem(\"UserId\", Unknown, SchemaItemJustify.None, 20, false, false, false, false);
public static SchemaItem OrderDate = new SchemaItem(\"OrderDate\", Unknown, false, false, false, false, false, false);
public static SchemaItem ShipAddr1 = new SchemaItem(\"ShipAddr1\", Unknown, SchemaItemJustify.None, 80, false, false, false, false);
public static SchemaItem ShipAddr2 = new SchemaItem(\"ShipAddr2\", Unknown, SchemaItemJustify.None, 80, true, false, false, false);
public static SchemaItem ShipCity = new SchemaItem(\"ShipCity\", Unknown, SchemaItemJustify.None, 80, false, false, false, false);
public static SchemaItem ShipState = new SchemaItem(\"ShipState\", Unknown, SchemaItemJustify.None, 80, false, false, false, false);


.......

db.AddInParameter(dbCommand, \"UserId\", Unknown, \"UserId\", DataRowVersion.Current);
db.AddInParameter(dbCommand, \"OrderDate\", Unknown, \"OrderDate\", DataRowVersion.Current);
db.AddInParameter(dbCommand, \"ShipAddr1\", Unknown, \"ShipAddr1\", DataRowVersion.Current);
db.AddInParameter(dbCommand, \"ShipAddr2\", Unknown, \"ShipAddr2\", DataRowVersion.Current);
db.AddInParameter(dbCommand, \"ShipCity\", Unknown, \"ShipCity\", DataRowVersion.Current);
db.AddInParameter(dbCommand, \"ShipState\", Unknown, \"ShipState\", DataRowVersion.Current);
db.AddInParameter(dbCommand, \"ShipZip\", Unknown, \"ShipZip\", DataRowVersion.Current);
db.AddInParameter(dbCommand, \"ShipCountry\", Unknown, \"ShipCountry\", DataRowVersion.Current);
db.AddInParameter(dbCommand, \"BillAddr1\", Unknown, \"BillAddr1\", DataRowVersion.Current);
db.AddInParameter(dbCommand, \"BillAddr2\", Unknown, \"BillAddr2\", DataRowVersion.Current);
db.AddInParameter(dbCommand, \"BillCity\", Unknown, \"BillCity\", DataRowVersion.Current);
db.AddInParameter(dbCommand, \"BillState\", Unknown, \"BillState\", DataRowVersion.Current);
db.AddInParameter(dbCommand, \"BillZip\", Unknown, \"BillZip\", DataRowVersion.Current);
db.AddInParameter(dbCommand, \"BillCountry\", Unknown, \"BillCountry\", DataRowVersion.Current);
db.AddInParameter(dbCommand, \"Courier\", Unknown, \"Courier\", DataRowVersion.Current);
db.AddInParameter(dbCommand, \"TotalPrice\", Unknown, \"TotalPrice\", DataRowVersion.Current);
db.AddInParameter(dbCommand, \"BillToFirstName\", Unknown, \"BillToFirstName\", DataRowVersion.Current);
db.AddInParameter(dbCommand, \"BillToLastName\", Unknown, \"BillToLastName\", DataRowVersion.Current);
db.AddInParameter(dbCommand, \"ShipToFirstName\", Unknown, \"ShipToFirstName\", DataRowVersion.Current);
db.AddInParameter(dbCommand, \"ShipToLastName\", Unknown, \"ShipToLastName\", DataRowVersion.Current);
db.AddInParameter(dbCommand, \"AuthorizationNumber\", Unknown, \"AuthorizationNumber\", DataRowVersion.Current);
db.AddInParameter(dbCommand, \"Locale\", Unknown, \"Locale\", DataRowVersion.Current);
.....

all the Type is Unknown.

help me! :(
implssible is nothing
tenvick
Lurker
 
Posts: 9
Joined: Fri Aug 17, 2007 3:41 am

Postby mike.griffin on Fri Aug 17, 2007 12:17 pm

In the DefaultSettings dialog of MyGeneration set your \"Language\" to \"C#\"
User avatar
mike.griffin
Site Admin
 
Posts: 3290
Joined: Sat Apr 03, 2004 6:10 am
Location: Indianapolis, IN


Return to General Questions or Comments

Who is online

Users browsing this forum: Google [Bot] and 1 guest

cron