[fluent-nhib] Best Practice to combine NHibernate.Search and ISession.Query

2011-03-26 Thread Hardy
Hi all I have a table look like: CREATE TABLE [dbo].[Order]( [OrderID] [int] IDENTITY(1,1) NOT NULL, [UserID] [int] NOT NULL, [ProductID] [int] NOT NULL, [OrderDate] [datetime] NOT NULL, [UnitPrice] [money] NOT NULL, [Quantity] [float] NOT NULL,

Re: [fluent-nhib] Re: Possible Issue with IUserTypeConvention and NHibernate 3

2011-03-26 Thread Josh Close
I've found that just mapping to the enum type seems to work fine now, but I'd like to know if this was intentionally changed, 'cause it's breaking functionality from the last version. Map( m => m.MyEnum ).CustomType(); On Thu, Mar 24, 2011 at 3:48 PM, Vikram Nayak wrote: > Yes, I have the same

Re: [fluent-nhib] Automapping, change collection type from Bag to Set

2011-03-26 Thread Krzysztof Koźmic
AsSet() or IsSet() ? On 26/03/2011 7:00 PM, Paul Batum wrote: Do you know why Krzysztof can't find AsSet() then? I tried locally now and it comes up for me fine. On Thu, Mar 24, 2011 at 2:02 AM, James Gregory @gmail.com > wrote: Overrides yeah, bu

Re: [fluent-nhib] Automapping, change collection type from Bag to Set

2011-03-26 Thread Paul Batum
Do you know why Krzysztof can't find AsSet() then? I tried locally now and it comes up for me fine. On Thu, Mar 24, 2011 at 2:02 AM, James Gregory wrote: > Overrides yeah, but only on a case-by-case basis. -- You received this message because you are subscribed to the Google Groups "Fluent NHi

[fluent-nhib] Re: Possible Issue with IUserTypeConvention and NHibernate 3

2011-03-26 Thread Vikram Nayak
Yes, I have the same problem with NH3 GA and Fluent NH built with the NH3 GA. On Mar 21, 3:13 pm, Josh Close wrote: > First of all, I have posted this on > stackoverflowhttp://stackoverflow.com/questions/5382302/map-enum-as-int-with-fluen... > but while digging more, it seems like it might possi

[fluent-nhib] Convention interface to change foreign key names for this mapping?

2011-03-26 Thread Maxus
Hi There, I have this mapping: HasMany(x => x.AccountPermissions).AsSet().Table("usergroup_accountperms").Element("accountpermission_id") accountpermissions property is an ICollection and AccountPermissions is an enum. when I generate the DDL I want to set the FK1FABE7DC4C6DF6EC to be something