コード例 #1
0
 private static void DatabaseInitialize(IDBProvider dbContext)
 {
     dbContext.CreateTable <Word>();
     //dbContext.Insert(new Word() { Key = "Attribute", PrefixKey = "A", Type = Common.Enums.WordType.Adjective, Description = "Özellik", Id = Guid.NewGuid().ToString() });
     //dbContext.Insert(new Word() { Key = "Beta", PrefixKey = "B", Type = Common.Enums.WordType.Verb, Description = "Test", Id = Guid.NewGuid().ToString() });
     //dbContext.Insert(new Word() { Key = "Case", PrefixKey = "C", Type = Common.Enums.WordType.Noun, Description = "Şart", Id = Guid.NewGuid().ToString() });
     //dbContext.Insert(new Word() { Key = "Akinon", PrefixKey = "A", Type = Common.Enums.WordType.Adverb, Description = "Şirket", Id = Guid.NewGuid().ToString() });
 }