schemaexport
NHibernate SchemaExport With Abstract Class Lists Not Being Created
I am currently trying to create a base class for my domain objects that contains a list because we have to model an excel spreadsheet with very particular requirements.[详细]
2023-02-12 06:12 分类:问答How to test generate tables with fluent nhibernate (schemaexport)? in asp.net context
well this is my very very first project with fluent hibernate.i\'ve had small experience in hibernate and nhibernate.[详细]
2023-01-25 06:56 分类:问答Suppress ORA-00942 errors in ddl create scripts
Say you gener开发者_运维知识库ate ddl to create all your db tables etc via Hibernate SchemaExport etc.What you get is a script which starts with drop statements at the beginning.Not a problem, as I wa[详细]
2023-01-19 01:03 分类:问答NHibernate SchemaExport: How to generate a meaningful unique key name?
When I use SchemaExport with SQL Server 2005, it generates unique key names like: UQ__Employees__03317E3D[详细]
2023-01-15 03:30 分类:问答Foreign Keys with SchemaExport in Fluent NHibernate using SQLite
I am attempting to create a simple database application which keeps track of loans of various types of equipment using Fluent NHibernate and SQLite. However, when I try to generate the database struct[详细]
2023-01-03 22:46 分类:问答Prevent Nhibernate schemaexport from generating foreign key constraints on has many relationship
I have a mapping like this: HasMany(x => x.Orders).KeyColumn(\"CustomerID\"); Which is causing a constraint like this to be generated by schemaexport:[详细]
2022-12-29 23:30 分类:问答Setting string to be sql type of "varchar" instead of "nvarchar"
I have the following mapping: public class LogEntryMap { public LogEntryMap() { Map.Id(x => x.Id).GeneratedBy.Identity();[详细]
2022-12-21 04:41 分类:问答NHibernate does not create Tables
var cfg = new Configuration(); cfg.Configure(); cfg.AddAssembly(typeof(<ClassName>).Assembly); new SchemaExport(c开发者_StackOverflow社区fg).Execute(false, true, false, false);[详细]
2022-12-21 01:39 分类:问答