Business Object Mapper


Author
Message
PeterA
PeterA
StrataFrame Novice (74 reputation)StrataFrame Novice (74 reputation)StrataFrame Novice (74 reputation)StrataFrame Novice (74 reputation)StrataFrame Novice (74 reputation)StrataFrame Novice (74 reputation)StrataFrame Novice (74 reputation)StrataFrame Novice (74 reputation)StrataFrame Novice (74 reputation)
Group: Forum Members
Posts: 72, Visits: 235
From a business object designer file:





_FieldNativeDbTypes.Add("ID_SPP", IBM.Data.DB2.DB2Type);

_FieldNativeDbTypes.Add("NM_SPP", IBM.Data.DB2.DB2Type);

_FieldNativeDbTypes.Add("ID_OWN_TYP", IBM.Data.DB2.DB2Type);





It's not fully qualifying the DB2 data type. Each time I generate a new business object, I have to change it to the fully qualified type (i.e. IBM.Data.DB2.DB2Type.Integer) and cast it to the correct type.



[codesnippet]

_FieldNativeDbTypes.Add("ID_SPP", (int)IBM.Data.DB2.DB2Type.Integer);

[/codesnipppet]



Any suggestions on a property I could change so that it puts the correct data into the auto-generated file (changing each line in each business object each time I rebuild the partial classes isn't going to cut it)?



Thanks!

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View

Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search