CSLA .NET

Vibrant discussion about CSLA .NET and using the framework to build great business applications.

Where is GetPropertyConvert

rated by 0 users
Answered (Verified) This post has 1 verified answer | 2 Replies | 1 Follower

Not Ranked
2 Posts
sperber posted on Fri, Apr 20 2012 7:58 AM

Hi,

I'm new to CSLA and am trying to play around with the GetPropertyConvert method and SmartDate.  The problem is that my program complains that GetPropertyConvert and SetPropertyConvert are undefined.  Sure enough, when I search the CSLA source code, the search comes up empty.

Where are these methods?

I'm using CSLA 3.5 (and CAN'T upgrade to another version)

 

TIA

Answered (Verified) Verified Answer

Top 10 Contributor
1,813 Posts
Answered (Verified) JonnyBee replied on Fri, Apr 20 2012 10:01 AM
Verified by sperber

From the change log:

Pre-release 3.6.0-080626:

 

GetProperty/SetProperty/ReadProperty/LoadProperty (080626)

Change all <P, F> overloads to include the word ‘Convert’. For example, GetProperty<P,F> is now GetPropertyConvert<P,F>. This avoids an ambiguity scenario and allows the compiler to do better type inference.

This is a breaking change for any code using the previous <P,F> overloads.

Jonny Bekkum, Norway CslaContrib Coordinator

All Replies

Top 10 Contributor
1,813 Posts
Answered (Verified) JonnyBee replied on Fri, Apr 20 2012 10:01 AM
Verified by sperber

From the change log:

Pre-release 3.6.0-080626:

 

GetProperty/SetProperty/ReadProperty/LoadProperty (080626)

Change all <P, F> overloads to include the word ‘Convert’. For example, GetProperty<P,F> is now GetPropertyConvert<P,F>. This avoids an ambiguity scenario and allows the compiler to do better type inference.

This is a breaking change for any code using the previous <P,F> overloads.

Jonny Bekkum, Norway CslaContrib Coordinator

Not Ranked
2 Posts
sperber replied on Fri, Apr 20 2012 12:30 PM

Thanks!

Just confirmed our company is using 3.6, not 3.5 as I was told.

Page 1 of 1 (3 items) | RSS

Copyright (c) 2006-2010 Marimer LLC. All rights reserved.
Email admin@lhotka.net for support.
Powered by Community Server (Non-Commercial Edition), by Telligent Systems