Never amazes me how I always get a nice little Error Message at the end of my work day.
I have gotten my tables added to the ORM and understand how it all works.
Today I built the Data and Business Classes for them. In one of my tables I have 5 DateTime fields. When I run the app I get an error that states:
Code:
Error 1 Cannot implicitly convert type 'System.DateTime?' to 'System.DateTime'. An explicit conversion exists (are you missing a cast?)
for each DateTime field.
I then went and compared my AETransfersEO to the PTORequestEO from the Framework which has an additional DateTime field in the form of RequestDate. The override from both files are identical. I would post my code but it takes 75 arguments and would be really long.
If anyone knows what I missed I would appreciate it. I just get stuck on the error code until I understand what it is telling me. To me it says that it cannot take the Property (@reqDate of type DateTime) and implicitly(understood type) convert it to DateTime. I do not understand what the explicit(direct) conversion is or where it exists. Im sure with time I will figure it out, but I like to share my experience with others so they may learn too.
Thanks
We Learn from Eachother