예제 #1
0
 public static void Register()
 {
     ConversionExtensions.RegisterTypeConverter(typeof(DateTimeOffsetConverter), typeof(DateTimeOffset));
 }
예제 #2
0
 public static void Register()
 {
     ConversionExtensions.RegisterTypeConverter(typeof(EnumConverter), typeof(Enum));
 }
예제 #3
0
 public static void Register()
 {
     ConversionExtensions.RegisterTypeConverter(typeof(DbNullConverter), typeof(DBNull));
 }