Sunday, May 20, 2012 Register    Login
Instructions

In order to add new threads or reply to existing posts, you have to be logged-in. If you are not registered yet, you need to register first, and then login with your personal credentials.

   

CslaFactory Forums
HomeHomeSupportSupportCslaFactory CTPCslaFactory CTPCriteria using decimal valueCriteria using decimal value
Previous
 
Next
New Post
4/24/2008 8:32 AM
 

Noticed that when you add a criteria sig that uses decimals it creates them as nullable which is fine, good in fact for me

        protected class Criteria
        {
            public string SomeCode;
            public Nullable<System.Decimal> SomeId1;
            public Nullable<System.Decimal> SomeId2;

            //-----------------------------------------------------------------           
            public Criteria()
            {
            }       
        }

But the return function that passes in the criteria doesn't use nullable values so you can't actually pass a null in

public static SomeList GetSomeListByCriteria(string someCode, System.Decimal someId1, System.Decimal someId2)

 

 
New Post
4/24/2008 11:26 AM
 

Hi Mark,

thanks for your hint. This seems to be a bug I have to fix...

Marcel

 
Previous
 
Next
HomeHomeSupportSupportCslaFactory CTPCslaFactory CTPCriteria using decimal valueCriteria using decimal value


   

UsersOnline
Membership Membership:
Latest New User Latest: nesopo
Past 24 Hours Past 24 Hours: 0
Prev. 24 Hours Prev. 24 Hours: 0
User Count Overall: 1605

People Online People Online:
Visitors Visitors: 3
Members Members: 0
Total Total: 3

Online Now Online Now: