I am having hard times convincing NHibernate (EF was able to do it) to filter based on the Hour property of a DateTime entity pr开发者_运维问答operty. My entity goes something like :
I am trying to import some large files using batch queries and paralel processing and I\'m constantly getting errors like
I\'m trying out SharpArchitecture and want to have FluentNHibernate generate my database schema for my MVC WebSite.
I need to map one entity to two tables (Invoice and开发者_如何学JAVA InvoiceHistory). It\'s not up to me to merge the two database tables in one and add a status column to differentiate them.
How do I generate xml mappings files as part of my tests in Mapp开发者_如何学编程ingIntegrationTests
How can i ignore a property by decorating a property with an attribute? the base class AttributePropertyConvention doesn\'t seems to have that ability, or can it? Doesn\'开发者_如何学编程t find anythi
Client has a Report, Configuration etc properties. A client can have only one of each. Also, each report can belong to only one Client. This is in a way a one-to-one relationship. Therefore my Report
I\'m using NHibernate + Fluent to handle the database in my application. So far I\'ve been using a SessionSource to create my ISession objects. I\'m a bit confused now about what comes from NHibernate
I\'m using Fluent NHibernate to create an ASP.NET MVC project, with Submissions and Votes (Up/Down) by Users.
I am then using Fluent NHibernate and its automapping feature to map the the following simplified POCO class: