SetAttributeOnPropertyElement is on the PropertyMap class rather than
IProperty, although it probably should be pulled up.
On Wed, Sep 3, 2008 at 4:09 PM, Frank Bell [EMAIL PROTECTED] wrote:
Hey,
With regards to this, when checking the
FluentNHibernate.Mapping.IProperty interface it does
Sorry for not getting back to you sooner. You can do subclasses like the
following:
DiscriminateSubClassesOnColumnstring(discriminatorColumnName)
.SubClassMySubclass()
.IsIdentifiedBy(MySubclassDiscriminator)
.MapSubClassColumns(m =
{
m.Map(x = x.MySubclassColumn;
});
I've just applied the patch, looks nice. Thanks James.
On Thu, Sep 4, 2008 at 8:33 AM, James Gregory [EMAIL PROTECTED]wrote:
This is very cool, thanks James. I had looked at doing this my self, but I
didn't know about GetIdentifier, so mine ended up being a whole lot uglier.
I'll apply your
That link was meant to be:
http://code.google.com/p/fluent-nhibernate/issues/detail?id=42
On Wed, Sep 10, 2008 at 1:35 PM, James Gregory [EMAIL PROTECTED]wrote:
Shame, that means I'm going to have to implement it ;)
I've created an issue and I'll hopefully try to tackle it over the next
few
Off the top of my head, I don't think we can de-generic those classes. We
need the generic type definitions to create the ExpressionT parameters.
I'm so out of the loop, but couldn't you have it where the onetomany
convention gets registered into a list that all onetomany's use when writing
their
NHibernate.Linq for the time being.
On Tue, Sep 23, 2008 at 4:59 PM, James Gregory [EMAIL PROTECTED]
wrote:
Good thinking, I'll replace it later.
On Tue, Sep 23, 2008 at 2:39 PM, fquednau [EMAIL PROTECTED]
wrote:
Hi there,
locally we have replaced the Nhibernate you reference with Nhibernate
Just to chime in... I don't really have any problem with interfaces on
entities, but you do have to question their merit.
Entities shouldn't be in your container though. Injecting entities can
get very nasty, because they have a finite lifespan that most likely
will be shorter than that of the
was wondering if
you could take a quick look at JoinedSubClass and change it to be consistent
with the approach you used?
Thanks,
Paul Batum
On Sun, Oct 5, 2008 at 9:49 PM, James Gregory
[EMAIL PROTECTED]wrote:
Hey guys,
Just giving you the heads-up that I've committed a very small breaking
I just implemented this the other day, you can do it with the WithTable
method.
public class PersonMap : ClassMapPerson
{
public PersonMap()
{
Id(x = x.PersonId);
Map(x = x.Name);
WithTable(PersonExtra, m =
{
m.Map(x = x.Age);
});
}
}
On Tue, Oct 7, 2008 at 12:30
Just replied to your other thread too.
On Tue, Oct 7, 2008 at 1:09 PM, Chris [EMAIL PROTECTED] wrote:
Stupid me, I forgot to check recent posts before posting this one I
had ready from weeks ago. It seems James has beaten me to the punch.
On 7 Oct, 12:41, Chris [EMAIL PROTECTED] wrote:
What you've actually got there is a one-to-many relationship, because
although you may have logically defined that a question can only have one
answer, your database structure allows for multiple Answer records to have
the same QuestionID.
So to map this you'd need to have a collection of answers
Many-to-any currently isn't implemented, as far as I'm aware.
Regarding your config, I'd say your first config should work; as you're
using AddMappingsFromAssembly which would add any hbm.xml mappings, then
using the persistence model for the fluent stuff. What results are you
getting with that
Ok, I've updated the copyright in the assembly info.
Shouldn't we also be embedding a license in each file?
On Wed, Oct 15, 2008 at 4:49 PM, James Gregory [EMAIL PROTECTED]wrote:
Sounds like a good idea to me.
On Wed, Oct 15, 2008 at 4:07 PM, Chad Myers [EMAIL PROTECTED] wrote
+1 for svn ignore it too
+1 for making people run the build script upon first pull
-d
On Oct 17, 2008, at 11:09 AM, James Gregory [EMAIL PROTECTED]
wrote:
I think I agree with Dru, just don't touch the version file with rake. It
sounds like more hassle than it's worth.
On Fri, Oct 17
I definitely think this is a great idea. As Chad said though, I was
under the impression that this wasn't a desirable addition to nhib
core.
On 11/5/08, Dru Sellers [EMAIL PROTECTED] wrote:
+10 with access to the NH metadata
...ooo... (drool)
. doughnuts
yum yum yum
-d
On
We'd just have to rewrite the tests! :)
On Wed, Nov 12, 2008 at 1:53 PM, Paul Batum [EMAIL PROTECTED] wrote:
So can I just ask for some clarification because there seemed to be
conflicting answers... does the NHibernate trunk offer a configuration
capability that looks like a viable
There is a JoinedSubClass method on the ClassMap you can use for this
purpose, but it sounds like it isn't supported through the auto mapping yet.
On Thu, Nov 13, 2008 at 9:09 AM, Andrew Stewart
[EMAIL PROTECTED] wrote:
Hi Julian
What your talking about is actually part of the normal fluent
Last time you raised the prospect of having HasMap (et al), I disagreed. I
preferred the idea of not complicating matters with the type of collection,
and merely letting the mappings determine what to use. For whatever reason
this isn't the way it's ended up being used, and I realise that perhaps
this fixed, could you knock together the smallest
possible example to reproduce it?
Thanks
On Tue, Dec 2, 2008 at 2:48 PM, James Gregory [EMAIL PROTECTED]wrote:
That's quite curious. I'm unable to help right now, but i'll try address
your problem tonight. Keep me posted if you make any progress
Looks really good Paul. I haven't had the opportunity to have a deep dig,
but from what I've read in the changelog and your blog post, I think this is
definitely the direction we need to be heading. The separate model will help
shield the fluent API from changes in the NHibernate XML, and just
I guess that's unanimous then. I'll fix this asap.
On Fri, Dec 12, 2008 at 6:21 AM, Gabriel Schenker gnschen...@gmail.comwrote:
+1 for consistency with NH
On Thu, Dec 11, 2008 at 11:29 PM, Chad Myers c...@chadmyers.com wrote:
It was hard-coded in the template and not able to be changed by
tests use to have virtual members or you will
have to override the conventions for those tests.
On Fri, Dec 12, 2008 at 7:51 PM, James Gregory jagregory@gmail.comwrote:
I guess that's unanimous then. I'll fix this asap.
On Fri, Dec 12, 2008 at 6:21 AM, Gabriel Schenker
gnschen
Is there any kind of assembly version mixup going on? You can sometimes get
obscure exceptions like that when the types are being loaded from two copies
of the same assembly.
On Fri, Dec 12, 2008 at 1:31 AM, Paul Batum paul.ba...@gmail.com wrote:
That error message is confusing. Aren't the two
That looks feasible, I'll have a go later.
On Mon, Dec 15, 2008 at 6:01 AM, Chris Constantin cgconstan...@gmail.comwrote:
Is it possible to replace:
Id(x = x.Id)
.GeneratedBy.Foreign(User);
with
Id(x = x.Id)
.GeneratedBy.Foreign(x = x.User);
?
It
I've also added convention support for Cache too, incase anyone is
interested.
AutoPersistenceModel
.MapEntitiesFromAssemblyOfExampleClass()
.WithConvention(c = c.DefaultCache = cache = cache.AsReadWrite());
On Mon, Dec 15, 2008 at 10:35 PM, James Gregory jagregory@gmail.comwrote:
Hi
For a ManyToOne you should be looking at References, HasOne is for a
OneToOne if I remember correctly.
On Tue, Dec 16, 2008 at 3:11 PM, Fregas fre...@gmail.com wrote:
Can someone tell me the correct way to map a ManyToOne relationship
with Lazy Load? References has lazy load but HasOne does
This is a tricky one, because it'd require quite a bit of work to change all
the places that currently take lambdas. We had a ticket a while back about
this and I resolved it as something in the future, and I think for the
time being it's going to have to stay like that.
Unless there is a great
Yep, you nailed it Derick.
On Tue, Dec 16, 2008 at 5:37 PM, Derick Bailey der...@derickbailey.comwrote:
HasOne is for a One-To-One relationship.
There are very few circumstances where you would need to use this,
really. A One-To-One relationship is used when you need to physically
split
Yeah, quite a pain in the arse.
On Fri, Dec 19, 2008 at 11:37 AM, Paul Batum paul.ba...@gmail.com wrote:
Ahh. Odd, I didn't realise that hbm demanded particular ordering.
On Fri, Dec 19, 2008 at 10:29 PM, James Gregory
jagregory@gmail.comwrote:
To compare mapping parts! :)
It's
Hey everyone,
I'm just combing through the codebase doing the verb cleanup and I've come
across a method that I don't understand. In ClassMap
there's UseIdentityForKey which seems to be identical in purpose to Id, it's
implemented a bit differently but they both use IdentityPart; blame tells me
it.
-c
*From:* fluent-nhibernate@googlegroups.com [mailto:
fluent-nhibern...@googlegroups.com] *On Behalf Of *James Gregory
*Sent:* Sunday, December 21, 2008 12:21 PM
*To:* fluent-nhibernate@googlegroups.com
*Subject:* [fluent-nhib] ClassMap.UseIdentityForKey
Hey everyone,
I'm just
like to get this upped before I committed any changes of
these sort to trunk.
I'm also open to alternative syntaxes if anyone has any suggestions.
On Sun, Dec 21, 2008 at 8:31 PM, James Gregory jagregory@gmail.comwrote:
Hey everyone,
I've been thinking about the syntax for subclasses, I think
), if there is no
prefixing verb then it should be assumed that the action isn't repeatable
and the second call will overwrite the effects of the first.
How does that sound?
On Sun, Dec 21, 2008 at 6:55 PM, James Gregory jagregory@gmail.comwrote:
I've started doing some renames. My changes so
Guys,
I'm just combing through the Issues list and one that stood out as a very easy
fix concerns signing the assemblies. We already have a snk, however I
thought I'd ask what everyone thought about it. Should we be signing our
assemblies?
I'm not really aware of the implications of signing, I
:40 PM, James Gregory jagregory@gmail.com
wrote:
Chris, really, why would you want to use stored procedures in NHibernate?
@Paul: I'd say the return-property element could be mapped using
expressions.
Something along the lines of:
class EmploymentMap : ClassMapEmployment
Procedure automapping
Ahh I see. That looks ok.
Of course, it won't protect you from changes made on the SP side, but
thats
one of the many reasons why we both hate SP's, isnt it!
On Tue, Dec 23, 2008 at 8:40 PM, James Gregory jagregory@gmail.com
wrote:
Chris, really, why would you
Because that's not a very nice solution. The whole point of a fluent
API is that it's readable, and having base prefixed on every method
doesn't read well.
We need to do something for this as people keep complaining. I think
your idea is good Paul, with one small change. We modify the
I've just committed a change that limits the types of version to int and
long.
On Sat, Jan 3, 2009 at 11:10 AM, Ayende Rahien aye...@ayende.com wrote:
int and long
On Sat, Jan 3, 2009 at 12:34 PM, James Gregory jagregory@gmail.comwrote:
That sounds reasonable, but which types should
Hey guys,
Just a heads up. The PersistenceSpecification had a new() generic constraint
for the entity type, this meant that your entity had to have a public
parameterless constructor. For those individuals that are using private or
protected constructors, this was causing a problem. I've removed
I believe that was the case with NHibernate 1.2.1, but as of 2.0 I know
they've changed the names.
According to the NHibernate 2.0 knol what we're using is correct: Optional
Configuration
strictly true. You can't have sub
discriminators on a different column, NHibernate doesn't like that.
On Sun, Dec 21, 2008 at 8:54 PM, James Gregory jagregory@gmail.comwrote:
I've just committed the above syntax changes into a branch (
http://fluent-nhibernate.googlecode.com/svn/branches/jg
FYI I've also made a post about this too: Fluent NHibernate SubClass syntax
changeshttp://blog.jagregory.com/2009/01/05/fluent-nhibernate-subclass-syntax-changes/
On Mon, Jan 5, 2009 at 12:06 AM, James Gregory jagregory@gmail.comwrote:
Just a heads up, I've merged my changes into trunk
can check if the auto-mapping still works.
Andy
On Mon, Jan 5, 2009 at 12:14 AM, James Gregory jagregory@gmail.comwrote:
FYI I've also made a post about this too: Fluent NHibernate SubClass
syntax
changeshttp://blog.jagregory.com/2009/01/05/fluent-nhibernate-subclass-syntax-changes
That's very interesting. Unfortunately, the bits in the Framework
project are rather neglected, so there may very-well be a bug in
there. I need to investigate this before I can pass judgement though.
On 1/5/09, RalyDSM j...@glmotorsports.net wrote:
I think I might have found a bug, but I'm
Unfortunately this isn't supported currently. I've created an issue
(#94http://code.google.com/p/fluent-nhibernate/issues/detail?id=94)
so this doesn't get forgotten.
On Tue, Jan 6, 2009 at 8:33 AM, Karron Qiu karron...@gmail.com wrote:
Hi, I have two tables: Parents and ParentExtProperties.
Hey Seb,
IUserType convention. I wrote something that does convention =
convention.AddUserTypeUriType() to automatically inject the user type in
any reference to Uri.
I think our support for IUserType needs some loving; however, I believe you
can do it by using a ITypeConvention.
I've had a look and I don't think there's a way to do what you're asking;
however, I've forwarded your question onto Andrew who's our resident
AutoMapping expert, he might know something I don't.
On Wed, Jan 7, 2009 at 1:39 AM, Sebastien Lambla s...@serialseb.com wrote:
Ok I'm probably a bit
How was your schema created? Are you certain your Id was created as an
autoincrement column?
On Wed, Jan 7, 2009 at 6:41 PM, Peter peter.morl...@gmail.com wrote:
Hello,
I'm using Fluent Nhibernate for a small project. I have one table
(album) and can retrieve records. But when I try to save
No problem, I had the same issue myself a little while ago while switching
some unit tests to use SQLite.
On Wed, Jan 7, 2009 at 7:08 PM, Peter peter.morl...@gmail.com wrote:
Indeed, the problem was in the table creation. Thanks very much.
On 7 jan, 19:46, James Gregory jagregory
the entire table into your
application
and
then doing an *in-memory* filter (bypassing Linq to NHibernate's
expression
tree parsing).
Jeremy
2009/1/5 James Gregory jagregory@gmail.com
That's very interesting. Unfortunately, the bits in the
Framework
For which database and what purpose? I ask because if it's for unit testing
and SQLite, then the answer is a resounding kinda, otherwise it's no.
There's the succinctly
named SingleConnectionSessionSourceForSQLiteInMemoryTesting that will
destroy a database on connection close.
On Wed, Jan 7,
the GetById
method, which I believe does the same thing as what I have in the code
in this message, I get an exception trying to cast Int to Product.
Does that make sense?
On Jan 7, 5:42 pm, James Gregory jagregory@gmail.com wrote:
Josh: I've tried reproducing your problem, but I haven't been
, or create your generic repository in C# (I tried this and it works
without any trouble).
On Thu, Jan 8, 2009 at 10:42 AM, James Gregory jagregory@gmail.comwrote:
I'll take a look at your GenericRepository, see if I can replicate the
issue.
On Thu, Jan 8, 2009 at 4:52 AM, Josh Pollard j
As Andrew said, the PersistenceModel has a WriteMappingsTo(string folder)method.
On Thu, Jan 8, 2009 at 4:03 PM, Mart Leet mal...@gmail.com wrote:
To see my xml in testexplorer i created
this:Console.Write(XElement.Parse(CreateMapping(new
MappingVisitor()).FirstChild.NextSibling.InnerXml,
Hello Luis,
I'm away from a machine with Visual Studio on right now, so I don't know how
much help I can be, but lets try to work through your problem.
Firstly, why is it that you're using a IUserType for your version? What is
the type that your version property has in your entity? I ask that
());
}
IMapGenerator code:
public interface IMapGenerator
{
string FileName { get; }
XmlDocument Generate();
}
On Jan 8, 10:05 am, James Gregory jagregory@gmail.com wrote:
As Andrew said, the PersistenceModel has a WriteMappingsTo(string
folder)method
Seconded. This isn't the kind of thing you can really do until we uncouple
the mapping from the hbm.xml.
On Fri, Jan 9, 2009 at 1:58 AM, Paul Batum paul.ba...@gmail.com wrote:
Hi Chris,
I am afraid that in its current state, even if the mappings were publicly
accessible, you would struggle
Of *James Gregory
*Sent:* quinta-feira, 8 de Janeiro de 2009 16:27
*To:* fluent-nhibernate@googlegroups.com
*Subject:* [fluent-nhib] Re: question on auto mapping
Hello Luis,
I'm away from a machine with Visual Studio on right now, so I don't know
how much help I can be, but lets try to work
, Luis Abreu lab...@gmail.com wrote:
Ok, that makes sense.
Thanks,.
---
Luis Abreu
*From:* fluent-nhibernate@googlegroups.com [mailto:
fluent-nhibern...@googlegroups.com] *On Behalf Of *James Gregory
*Sent:* sexta-feira, 9 de Janeiro de 2009 09:39
*To:* fluent-nhibernate
There are motions in place for moving away from explicit XML generation in
the mapping, so maybe one day you'll be able to do everything you want to.
However, it isn't our primary concern currently, and as long as there are
major unimplemented NHibernate features, it won't be.
That's not to say I
That's quite an interesting usage pattern I hadn't thought of Bart. Very
nice.
On Fri, Jan 9, 2009 at 2:06 PM, bti.timmerm...@gmail.com wrote:
Troy,
I think it's very usefull to combine the automapping with custom
mapping to get the best of both worlds. The approach that I'm testing
out is
have to
take your manual mapping and apply it in the FromDerivedFromClass for each
class in your solution.
I think that should sort your issue out.
Andy
On Fri, Jan 9, 2009 at 11:48 AM, James Gregory jagregory@gmail.com
wrote:
It's because with the AutoMapping, no mappings
Basically, no there isn't a way to do that. Fluent NHibernate relies on
static reflection to do it's business, and that can only work with public
properties.
This was all discussed
For anyone that doesn't subscribe to my blog, I've started writing a series
on Fluent NHibernate, starting with the Auto Mapping stuff. So far I've
written these posts:
Auto Mapping
Introductionhttp://blog.jagregory.com/2009/01/10/fluent-nhibernate-auto-mapping-introduction/
Auto Mapping
Not me. I think a lot of the Framework stuff is pretty unloved currently. As
such, I have no real objection to that being made public in trunk, but isn't
that breaking the abstraction?
On Sun, Jan 11, 2009 at 7:53 PM, Stuart Campbell stuart.campbe...@gmail.com
wrote:
Hi,
I was wondering how
Guys,
We've been quite regularily receiving requests and/or complaints about not
being able to map private and protected properties. I think we all know why
this isn't possible, and I think we're mostly in agreement that allowing
this is kinda against the purpose of Fluent NHibernate; however,
You need to specify both conventions because they're used for other things
besides References, it just so happens this scenario uses both. It may not
be optimal, but that's how it works currently.
The same thing applies to the non convention approach. There are cases when
people will want
Sorry, I don't have a copy. Hopefully one of the other guys might.
On Sun, Jan 11, 2009 at 9:58 PM, kev.m.mul...@googlemail.com
kev.m.mul...@googlemail.com wrote:
Does anyone have a copy of the Linfu or Castle proxy generator DLL
that is compiled against the NHibernate2.1 DLLs in the tools
Guys,
I've been attempting to add a convention for altering Ids, ends up it's a
little tricker than expected. There's some generic hell going on, long and
short of it is convention requires a non generic signature, other
conventions use an interface, but the identity GeneratedBy property needs
the
Not currently, no; we're toying with some ideas, but nothing is in-place
yet.
We've discussed this several times already on the mailing list, please do a
search before asking questions that may have already been answered.
WithTable with only one parameter sets the table name, with the lambda
expression it uses the NHibernate join element to merge two tables; not
very clear, I know. I'm clearing all this up soon.
On Mon, Jan 12, 2009 at 4:55 PM, Andrew Stewart
andrew.stew...@i-nnovate.net wrote:
Hi Brendan,
Why
As of last night there's a IdConvention where you should be able to do
what you need. Let me know if there's anything missing.
On 1/12/09, Ayende Rahien aye...@ayende.com wrote:
Is there a way to create a convention for identity generator?I want to use
hilo guid.comb, instead of the FN
instead? It might save a little on the banal email
traffic. ;)
On Jan 12, 2009, at 12:01 PM, James Gregory wrote:
According to the NHibernate xml schema, one-to-one's aren't
supported within join elements.
xs:sequence
xs:element ref=subselect minOccurs=0 /
xs:element ref=comment
to the database from people that are not
aware that a select is being issued . And even if they are aware they will
say ... just this time :).
So, by forcing protected get I am trying to prevent that.
On Mon, Jan 12, 2009 at 9:15 PM, James Gregory
jagregory@gmail.comwrote:
I'm not a guru
What part of this isn't possible at the moment? Or are you talking
about making it cleaner or more intuitive?
On 1/12/09, Ayende Rahien aye...@ayende.com wrote:
+1
That is what I seek
On Mon, Jan 12, 2009 at 2:36 PM, Chad Myers c...@chadmyers.com wrote:
[Credit to Aaron Jensen for
Jumped the gun a bit there.
All sounds like a good plan for the future. Just FYI as of next week
I'm (deliberately) unemployed, so I may be that champion. We'll have
to kick up some discussions.
On 1/12/09, James Gregory jagregory@gmail.com wrote:
What part of this isn't possible
It looks like the mapping isn't generating the right ordering for the
elements. Not sure what the order should be mind you... Looks like a
bug either way.
On 1/12/09, Brendan Erwin brendanjer...@gmail.com wrote:
Here is my Map:
public class ContactMap :
the nesting tricks as another supported
solution, as I am sure there are others out there like me that are prepared
to sacrifice a tiny bit of entity cleanliness for a nice chunk of compile
time safety.
Paul Batum
On Tue, Jan 13, 2009 at 6:35 AM, James Gregory jagregory@gmail.comwrote
Awaiting approval :)
On Tue, Jan 13, 2009 at 3:52 AM, wmccaffe...@gmail.com wrote:
We have been using Fluent NHibernate within S#arp Architecture and
absolutely love it. A few of us have taken a stab at integrating the
AutoPersistenceModel into the framework with varying success.
Would
I think you need to be looking at a ICompositeUserType from NHibernate,
which you should then be able to specify with CustomTypeIs when mapping your
CurrentLocation.
On Tue, Jan 13, 2009 at 9:33 AM, mcintyre321 mcintyre...@gmail.com wrote:
I've created a handy class called
dbo.MyEntity.CurrentGridSection_NorthEast_Lng
dbo.MyEntity.CurrentGridSection_SouthWest_Lat
dbo.MyEntity.CurrentGridSection_SouthWest_Lng
i.e. it is recursively examining the types when it tries to make the
columns.
On Jan 13, 9:40 am, James Gregory jagregory@gmail.com wrote:
I think you need to be looking
is to
make sure they know that there is an option that lets them keep their
entites the way they want AND map them fluently.
Paul Batum
On Tue, Jan 13, 2009 at 8:00 PM, James Gregory jagregory@gmail.comwrote:
Sirrocco, you are not alone. I have often used the exact pattern you
On Tue, Jan 13, 2009 at 10:21 PM, James Gregory
jagregory@gmail.comwrote:
That's fair enough, and I'm reluctant to debate on this issue because
domain design is such a subjective issue. For example, for myself there
currently aren't any options to fluently map an entity with
private/protected
...@gmail.comwrote:
What about the order of things?
If something has already been mapped explicitly using fluent or XML will it
be ignored by the automapping?
On Jan 13, 2009, at 10:10 AM, James Gregory wrote:
It's fairly easy to mix all types of mappings. You should just follow
ahead with this or not, but im all
for signing.
On Dec 21 2008, 4:51 pm, James Gregory jagregory@gmail.com
wrote:
Guys,
I'm just combing through the Issues list and one that stood out as a very
easy
fix concerns signing the assemblies. We already have a snk, however I
thought I'd ask
on this, but I've come around
to the idea that people at least need to know their options.
On Tue, Jan 13, 2009 at 12:39 PM, James Gregory jagregory@gmail.comwrote:
FNH is opinionated by architecture, whether or not that was deliberate
doesn't matter (it probably wasn't), but if the current
13, 2009 at 7:58 PM, James Gregory jagregory@gmail.com
wrote:
Nobody seemed to have any opinions on it, so it's been left alone
currently. The key is still distributed with the project, so you're welcome
to sign it yourself until we make a decision.
On Tue, Jan 13, 2009 at 7:55 PM
Well, ITypeConvention kind of implies a type, don't you think? :)
There's already an IPropertyConvention, which you can probably make use of;
there's an AttributeConventionT you could probably use for reference. I've
yet to write anything up on it yet though.
On Wed, Jan 14, 2009 at 8:09 PM,
Brought this back to the list...
I'm not too concerned with the current convention interfaces. I need to put
some more thought into it, but I see the main problems as: ITypeConvention
only operates against property's, which means it's very similar to
IPropertyConvention; however, ITypeConvention
I'm going to expose the IPropertyConvention, then set at creating some more
specialised conventions.
On Wed, Jan 14, 2009 at 10:20 PM, James Gregory jagregory@gmail.comwrote:
Brought this back to the list...
I'm not too concerned with the current convention interfaces. I need to put
some
the
application would work?
REgards
Nick
On Jan 14, 12:11 pm, James Gregory jagregory@gmail.com wrote:
After the persistenceModel.Configure(cfg) inspect the cfg object, you
should
be able to see which classes have been mapped. Is the one you're using in
there?
On Wed, Jan 14, 2009
You can create a patch using Tortoise SVN's patch functionality.
Right click in your working copy - TortoiseSVN - Create Patch
On Thu, Jan 15, 2009 at 4:29 PM, raf...@charan.com.br wrote:
Hello there...
I'm a C# developer from Brazil, and we need to use idbag mapping on
our projects. As the
Either attach it to an email on here, or use the issues list on the project
page.
On Thu, Jan 15, 2009 at 4:49 PM, raf...@charan.com.br wrote:
Yes, but where I can send it to you ?
On 15 jan, 14:44, James Gregory jagregory@gmail.com wrote:
You can create a patch using Tortoise SVN's
You shouldn't need to do a custom Equals method, you should just be able to
override standard Equals. The proxy would be a subclass of your entity
class, so you shouldn't have any trouble with that; overriding Equals and
GetHashCode is generally the solution for this kind of issue.
On Thu, Jan
I've made the change. I was holding off on doing this until it
was necessary, which it obviously is now.
On Sat, Jan 17, 2009 at 3:31 PM, tehlike tehl...@gmail.com wrote:
Isn't it making the group moderated for the first message, what do you
think?
Tuna Toksöz
http://tunatoksoz.com
Typos
Glad you could find a workaroynd. I'll look into this as soon as I get
near a pc.
On 1/17/09, malovicn nikola.malo...@gmail.com wrote:
Found it! :)
All I needed to do is to switch order of the lines to be
Map(x = x.Alias)
There's no fluent way to do this, but you could use
SetAttribute(collection-type,
typeof(PersistentBagTypeProductReview).AssemblyQualifiedName)
On Mon, Jan 19, 2009 at 1:24 PM, epitka exptrade2...@yahoo.com wrote:
??? nobody knows ???
On Jan 16, 2:21 pm, epitka exptrade2...@yahoo.com wrote:
You could always supply us with some patches to give it some long needed
love! ;)
On Mon, Jan 19, 2009 at 2:29 PM, s.lov...@gmail.com wrote:
Ok, sorry I should have searched a bit more before posting that.
This thread http://is.gd/grWo goes into the reasons why exposing the
ISession field
There are a fair few examples out there, even one specifically relating to
components (first result for fluent nhibernate components)
http://blogs.hibernatingrhinos.com/nhibernate/archive/2008/08/13/a-fluent-interface-to-nhibernate---part-2---value.aspx
On Wed, Jan 21, 2009 at 12:40 PM, Colin
Maybe I should've given a fuller example for reveal, but all it does is
reveal a private/protected property; you still have to pass that property
to a mapping method.
On Wed, Jan 21, 2009 at 1:14 PM, Colin Jack colin.j...@gmail.com wrote:
Yeah I'd read that one just hadn't copped on to the
1 - 100 of 1142 matches
Mail list logo