コード例 #1
0
 public void Initialize()
 {
     Database.Initialize();
     TypeMapper.Add(typeof(Continent), System.Data.DbType.Int16, true);
     Cleanup();
 }
コード例 #2
0
 public void Setup()
 {
     PostgreSqlBootstrap.Initialize();
     TypeMapper.Add(typeof(DateTime), DbType.DateTime2, true);
     BaseSetup();
 }
コード例 #3
0
 public void ThrowExceptionOnClassMapDbTypeMappingThatIsAlreadyExisting()
 {
     // Setup
     TypeMapper.Add <ClassMapperTestClass>(e => e.PropertyString, DbType.AnsiString);
 }