fluent-nhibernate icon indicating copy to clipboard operation
fluent-nhibernate copied to clipboard

Fluent NHibernate!

Results 169 fluent-nhibernate issues
Sort by recently updated
recently updated
newest added

It appears that the formula() method does nothing

I am writing a simple IPropertyConvention to map certain property types to Not.Nullable(). When I have a nullable enum property IPropertyInstance.Type.IsNullable returns false. Here is my sample code: ``` c#...

An enhancement of `IPropertyInstance` would be useful to detect the situation where the column name was generated automatically by fluent-nhibernate. This would allow a distinction in situations where the property...

I can't use Unique and Length with MySQL database. It will work with one or the other, but not both. `Map(x=> x.Name).Length(4001).Unique()` won't event create the table for that class

Currently, an element map with composite key cannot have cascading set. Refer to https://nhibernate.jira.com/browse/NH-2515 But I keep forgetting that and when I have my mapping as e.g. ``` c# HasMany(v...

Here is an example explaining the issue: When we do the following : Join("tablename", join => { join.Schema("schema1").Catalog("catalog1"); join.Optional(); join.KeyColumn("somekeycolumn"); }); Join("tablename", join => { join.Schema("schema2").Catalog("catalog2"); join.Optional(); join.KeyColumn("somekeycolumn"); }); Fluent...

possibleBug
needResearch

I tried to use the following construct and expected that the connectionString will contain a `Jet OLEDB:Database Password`-section ``` JetDriverConfiguration.Standard.ConnectionString(arg => arg.DatabaseFile("foo") .Password("foo")); ``` This was not the case, so...

The following test fails: ``` [Test] public void CanOverrideIdProperty() { var model = AutoMap.Source(new StubTypeSource(new[] { typeof(EntityWithAlternateIdProperty) })) .Override(o => { o.Id(e => e.AlternateId); }); HibernateMapping hibernateMapping = model.BuildMappings().First(); ClassMapping...

possibleBug
needResearch

If a user has created a schema in posgres that has an upper case letter in it fluent will not see it as it seems to mark the mapped schema...

bug
needResearch

I am having the worst trouble trying to setup a `HasMany` relationship to an entity backed by a table with no primary key. `ClassA` has a `CompositeId`. To circumvent the...