Hello,
You can try this tool which is able to produce FHN mappings too
http://nmg.codeplex.com/
--
You received this message because you are subscribed to the Google Groups
"Fluent NHibernate" group.
To post to this group, send email to fluent-nhibernate@googlegroups.com.
To unsubscribe from thi
NH contains built-in solutions for XML fields:
"NHibernate.Type.XDocType" for mapping System.Xml.Linq.XDocument
&
"NHibernate.Type.XmlDocType" for mapping System.Xml.XmlDocument
And then to use that we can define:
Property(x => x.Criteria, x => x.Type());
or
Map(x => x.Property).CustomType();
--
for part 2, I found these tutorials:
(Part 1) - NHibernate Mapping by Code, SchemaExport and
SchemaValidate
http://www.youtube.com/watch?v=0pV5aecwAUo
(Part 2) - NHibernate Mapping by Code, SchemaExport and
SchemaValidate
http://www.youtube.com/watch?v=6B_8BXxL8d4
Have fun!
--
You received thi
You can use binding redirects (bindingRedirect
oldVersion='...' newVersion='...')
http://msdn.microsoft.com/en-us/library/eftw1fys%28v=vs.71%29.aspx
--
You received this message because you are subscribed to the Google Groups
"Fluent NHibernate" group.
To post to this group, send email to fluen
How about this one? (what are your domain classes exactly)
var list = session.QueryOver()
.Fetch(x => x.Children).Eager
.Where(x => x.Parent == null)
.TransformUsing(NHibernate.Transform.Transformers.DistinctRootEntity)
actually it works if you write something like:
Map(x =>
x.EndOfTerm).Default("5/21/2011").Not.Nullable().Not.Insert().Not.Update().Generated.Always();
http://nhforge.org/doc/nh/en/index.html#mapping-generated
--
You received this message because you are subscribed to the Google Groups
"Fluent NH
just found it @codeplex ... ;)
NHibernate Code-First is an abstraction layer on top of NHibernate
core that allow you easily create data-centric application without
writing any line of XML mapping files.
http://nhcodefirst.codeplex.com
--
You received this message because you are subscribed to t
Hi,
To be specific, I am using FHN 1.2.0.705.
You can find it here:
http://teamcity.codebetter.com/viewType.html?buildTypeId=bt295&tab=buildTypeStatusDiv
After that, I have:
using System.Data.Entity.Design.PluralizationServices;
using System.Globalization;
using FluentNHibernate.Conventions;
usin
NH 2.3 does not support auto-mapping so I'll stick with fluent NH!
More info:
http://lostechies.com/jamesgregory/2011/04/13/me-on-nhibernate-3-2/
--
You received this message because you are subscribed to the Google Groups
"Fluent NHibernate" group.
To post to this group, send email to fluent-nh
Hi,
Thanks. Iesi.Collections.dll file is the only external dependency of
NH 3.1. They have merged other assemblies by using ILMerge.
--
You received this message because you are subscribed to the Google Groups
"Fluent NHibernate" group.
To post to this group, send email to fluent-nhibernate@goog
Hi,
If you want to use automapping and you don't want to define custom
universal conventions, try IAutoMappingOverride. It's still
automapping except for those properties which should not be treated
automatic and now you can specify their "ColumnName" manually:
http://wiki.fluentnhibernate.org/Auto
Hi,
You should do it this way:
public class UserCustomMappings : IAutoMappingOverride
{
public void Override(AutoMapping mapping)
{
mapping.Id(u => u.Id).GeneratedBy.Identity();
mapping.Map(x => x.FullName).Formula("FirstName + ' ' +
LastName";); //
3.2.0 is on the way ...
--
You received this message because you are subscribed to the Google Groups
"Fluent NHibernate" group.
To post to this group, send email to fluent-nhibernate@googlegroups.com.
To unsubscribe from this group, send email to
fluent-nhibernate+unsubscr...@googlegroups.com.
Hi,
NH 3 supports MsSqlCe40Dialect, Plz add this one to latest Fluent
NHibernate too. thnx.
--
You received this message because you are subscribed to the Google Groups
"Fluent NHibernate" group.
To post to this group, send email to fluent-nhibernate@googlegroups.com.
To unsubscribe from this gr
14 matches
Mail list logo