New Posts New Posts RSS Feed: Automatically translate database values to Int32
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

Automatically translate database values to Int32

 Post Reply Post Reply
Author
Customer View Drop Down
Senior Member
Senior Member
Avatar
User Submitted Questions to Support

Joined: 30-May-2007
Location: United States
Posts: 260
Post Options Post Options   Quote Customer Quote  Post ReplyReply Direct Link To This Post Topic: Automatically translate database values to Int32
    Posted: 12-Jul-2007 at 3:30pm
In our DB we have field of Type Number(5,0) it is automatically tranclated to System.Decimal. But I will it to rather by System.Int32. I want the DataModeller always, automatically take Int32 and not Decimal. I don't want everytime change this maually. Can I do it?
Back to Top
IdeaBlade View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 30-May-2007
Location: United States
Posts: 353
Post Options Post Options   Quote IdeaBlade Quote  Post ReplyReply Direct Link To This Post Posted: 12-Jul-2007 at 3:31pm

DevForce has the concept that every business object has a data type for the representation in the database and a different (and not necessarily the same) representation in the application.  This allows you to have an application that keeps the same data type in the application and yet supports different database formats (e.g., INT32 in SQL Server, and DECIMAL in Oracle).

 

Please read the section in the Developer's Guide on Data Transforms.

Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down