-
I have a ReadOnlyList and a BusinessBase class that contains Event information something like this. public static readonly PropertyInfo<SmartDate> StartProperty = RegisterProperty<SmartDate>(p => p.Start, "Start"); public string Start { get { return GetPropertyConvert<SmartDate...
-
This test passes in current CSLA .NET code, so the bug must exist in some older version and it has been fixed since.
-
Normal 0 false false false EN-US X-NONE X-NONE An error was encountered in performing a simple unit test for the SmartDate constructor, SmartDate(EmptyValue emptyValue) with the emptyValue being MaxDate: Test below: // test for maxDateValue SmartDate target = new SmartDate(SmartDate.EmptyValue.MaxDate...
-
Hello, I've an issue regarding LINQ and an IEnumerable collection with BusinessBase objects containing SmartDate properties. Using the latest CSLA.NET Release. Here is what I try (hopefully enough code): I Enumerable collection = ItemsSource as IEnumerable; // Collection of Properhandels Objects...
-
SmartDate has a DbValue property that returns dbnull (I think) when the date is empty.
-
Hi I'm at the end of my options with the SmartDate. This is my code. Private _contrSdtDt As SmartDate = New SmartDate(True) Public Property ContrSdtDt() As DateTime Get CanReadProperty("ContrSdtDt", True) Return _contrSdtDt.Date End Get Set(ByVal value As DateTime) CanWriteProperty("ContrSdtDt"...
-
Can we access the properties of SmartDate such as today's date if the user types in just "t" in a textbox without any binding sources?
-
Hi Rocky, I have this working on Csla 4.1.0. The same question though: Rocky, can you consider including this change on the next release?
-
It is important to understand that SmartDate is not intended to be used as a public type. It is intended to be used as the backing field type behind a string property. In some limited scenarios you might expose a public SmartDate type property, but usually not if you intend to bind that property to the...
-
Hi There, I have a problem with the display format of the smartdate within a devexpress grid. Please look at the attachedment, and within the archive there is a screendump folder. What you will not is I have a normal datatable with a normal datetime column. it display the date correctly within the grid...