The use of NVL in entity creation
Posted: Thu 06 Oct 2016 15:42
Howdy All,
First off, I am new to this tool, so bear with me... I am try to convert some existing code that uses good old straight OLE access over to using this ORM tool. In that code some of the queries, used to get the data, are using the NVL function to convert null values to some default...
What is the best path to go about this in the new model??? I have added the table into the model, but do not know how to go about implementing this function on the particular fields/columns... Do I do this in the class properties someplace or in some other place entirely??? I am striving to get the new Entity Framework project as close to the original implementation as possible, so I really need to figure out how to get this in there...
Thanks in advance,
Kevin Orcutt
Meyer Tool, Inc
Senior Software Engineer
[email protected]
First off, I am new to this tool, so bear with me... I am try to convert some existing code that uses good old straight OLE access over to using this ORM tool. In that code some of the queries, used to get the data, are using the NVL function to convert null values to some default...
What is the best path to go about this in the new model??? I have added the table into the model, but do not know how to go about implementing this function on the particular fields/columns... Do I do this in the class properties someplace or in some other place entirely??? I am striving to get the new Entity Framework project as close to the original implementation as possible, so I really need to figure out how to get this in there...
Thanks in advance,
Kevin Orcutt
Meyer Tool, Inc
Senior Software Engineer
[email protected]