Пример #1
0
        protected override void OnModelCreating(ModelBuilder modelBuilder)
        {
            // SQLite specific: Default to always using NOCASE collation
            modelBuilder.UseCollation("NOCASE");

            LocationClosure.OnModelCreating(modelBuilder);
            Location.OnModelCreating(modelBuilder);
            Photo.OnModelCreating(modelBuilder);
            ItemTag.OnModelCreating(modelBuilder);
            LocationTag.OnModelCreating(modelBuilder);
            Tag.OnModelCreating(modelBuilder);
            LocationType.OnModelCreating(modelBuilder);
            Item.OnModelCreating(modelBuilder);
        }