v3.6.2 Light - PropertyInfo default value and Csla.RelationshipTypes

v3.6.2 Light - PropertyInfo default value and Csla.RelationshipTypes

Old forum URL: forums.lhotka.net/forums/t/6727.aspx


davido_xml posted on Thursday, April 02, 2009

In 3.6.1 I had

private static PropertyInfo<decimal> CompetingQuoteProperty = RegisterProperty<decimal>(new PropertyInfo<decimal>("CompetingQuote", "Competing Quote", 0));

In 3.6.2 I get

The call is ambiguous between the following methods or properties:

'Csla.PropertyInfo<decimal>.PropertyInfo(string, string, Csla.RelationshipTypes)'

and

'Csla.PropertyInfo<decimal>.PropertyInfo(string, string, decimal)' 

I tried using ("CompetingQuote", "Competing Quote", 0m)); but it did not like that either

Do I need to find another way to set a default?

davido_xml replied on Thursday, April 02, 2009

please ignore previous post - typing too quickly

LayeredDev replied on Saturday, April 11, 2009

I am getting the same error message while trying to compile the Rolodex sample app. What is the resolution?

Thanks

Cosmic Ovungal

Copyright (c) Marimer LLC