Hi there I am using Fluent Nhibernate and I\'d like to write tests for my mappings as shown below. I have a scenario where I have a User class and a UserProfile class
i want to convert this mapping file from NHibernate to Fluent NHibernate <hibernate-mapping xmlns=\"urn:nhibernate-mapping-2.2\">
I\'m doing a simple query on the database, a search on two columns. I have an index on the columns. When I do the search in SQL Server Management Studio, it takes only a few milliseconds to complete (
Currently I am using many-to-one element in hbm file to fetch the data object from database like following....
I would like to have a structure like this: Mapping class int ID {get;set;} IList<KeyValuePair<string,string>> Criteria {get;set;}
I\'ve used Fluent NH in my project but I\'m having some problems with using the Collection class. Her开发者_Go百科e\'s the code for my classes
i\'ve been working with fluent nhibernate for a couple of months and i think it\'s a very flexible tool (even if \'tool\' is maybe incorrect term) :)
I am trying to map the collection for two days without success. I also read all possible articles and forums but still down there. Ok, here is the problem:
I think I\'m misunderstanding something about how this works. This is my fluent mapping: public class FunctionInfoMap : ClassMap<FunctionInfo>
i have my server written with structure map and fluent nhibernate, when i run my server from my pc and direct him to the db on another server i get a sqlexception that tells me that the timeout expire