[fluent-nhib] Re: Id of inserted object = 0

2009-09-13 Thread Tuna Toksoz
http://twitter.com/tehlike On Fri, Sep 11, 2009 at 10:53 AM, Topflysecurity konnektgra...@gmail.comwrote: in the webproject / TestFolderASPX / CustomerAddPhone.aspx if you open up the codebehind on that file you will see it. you can debug it to see the Id 0. On 11 Sep, 16:40, Tuna Toksoz

[fluent-nhib] Re: Id of inserted object = 0

2009-09-11 Thread Tuna Toksoz
You're not persisting it into DB Tuna Toksöz Eternal sunshine of the open source mind. http://devlicio.us/blogs/tuna_toksoz http://tunatoksoz.com http://twitter.com/tehlike On Fri, Sep 11, 2009 at 9:23 AM, Topflysecurity konnektgra...@gmail.comwrote: hi. i wonder what i am missing. let's

[fluent-nhib] Re: Id of inserted object = 0

2009-09-11 Thread Tuna Toksoz
with not persisting it into DB in this case? On 11 Sep, 15:24, Tuna Toksoz tehl...@gmail.com wrote: You're not persisting it into DB Tuna Toksöz Eternal sunshine of the open source mind. http://devlicio.us/blogs/tuna_toksozhttp://tunatoksoz.comhttp://twitter.com/tehlike On Fri

[fluent-nhib] Re: Id of inserted object = 0

2009-09-11 Thread Tuna Toksoz
it is. what can i do? On 11 Sep, 15:39, Tuna Toksoz tehl...@gmail.com wrote: Is CustomerPhones an IListCustomerPhone? Tuna Toksöz Eternal sunshine of the open source mind. http://devlicio.us/blogs/tuna_toksozhttp://tunatoksoz.comhttp://twitter.com/tehlike On Fri, Sep 11, 2009 at 9:34

[fluent-nhib] Re: Id of inserted object = 0

2009-09-11 Thread Tuna Toksoz
got this right i cant do a Customer.AddCustomerPhone().. i have to do call my CustomerPhoneService and save the CustomerPhone like that? On 11 Sep, 15:43, Tuna Toksoz tehl...@gmail.com wrote: You have to issue a call to session.Save() and save the root. Tuna Toksöz Eternal sunshine

[fluent-nhib] Re: Id of inserted object = 0

2009-09-11 Thread Tuna Toksoz
work. if i do the addCustomerPhone like i use to then response.redirect to another page and get the last added customerphone then it is there. it workes if i use the CustomerPhone service save.. On 11 Sep, 15:52, Tuna Toksoz tehl...@gmail.com wrote: I wouldmake a call on save for Customer

[fluent-nhib] Re: Id of inserted object = 0

2009-09-11 Thread Tuna Toksoz
BTW, it might be better to move this conversation to nhusers group. Tuna Toksöz Eternal sunshine of the open source mind. http://devlicio.us/blogs/tuna_toksoz http://tunatoksoz.com http://twitter.com/tehlike On Fri, Sep 11, 2009 at 10:01 AM, Tuna Toksoz tehl...@gmail.com wrote: are you

[fluent-nhib] Re: Id of inserted object = 0

2009-09-11 Thread Tuna Toksoz
that is maby a good idea but maby we can continue it here while we got a flow? On 11 Sep, 16:02, Tuna Toksoz tehl...@gmail.com wrote: BTW, it might be better to move this conversation to nhusers group. Tuna Toksöz Eternal sunshine of the open source mind. http://devlicio.us/blogs

[fluent-nhib] Re: Id of inserted object = 0

2009-09-11 Thread Tuna Toksoz
a minute to get it done.. u got a mail or should i share it here? On 11 Sep, 16:07, Tuna Toksoz tehl...@gmail.com wrote: I would like to see a test case, can you share? Tuna Toksöz Eternal sunshine of the open source mind. http://devlicio.us/blogs/tuna_toksozhttp://tunatoksoz.comhttp

[fluent-nhib] Re: Id of inserted object = 0

2009-09-11 Thread Tuna Toksoz
your time. i appriciate it. sorry for the rapidshare link but i dont got access to my server at this moment.. http://rapidshare.com/files/278604343/Phaeton.zip.html On 11 Sep, 16:11, Tuna Toksoz tehl...@gmail.com wrote: Share here, so everybody can comment. Tuna Toksöz Eternal sunshine

[fluent-nhib] Re: Id of inserted object = 0

2009-09-11 Thread Tuna Toksoz
...@gmail.comwrote: ok. i will check in here later on today then. thanks agin On 11 Sep, 16:30, Tuna Toksoz tehl...@gmail.com wrote: I will check it sometime today. 10.30 am here now. Tuna Toksöz Eternal sunshine of the open source mind. http://devlicio.us/blogs/tuna_toksozhttp

[fluent-nhib] Re: .AdoNetBatchSize not working?

2009-09-10 Thread Tuna Toksoz
using guid for id and I need to assign it before it hits the database because it is queued before handled by nhibernate. On Thu, Sep 10, 2009 at 3:43 PM, Tuna Toksoz tehl...@gmail.com wrote: What is your id strategy? Tuna Toksöz Eternal sunshine of the open source mind. http://devlicio.us

[fluent-nhib] Re: .AdoNetBatchSize not working?

2009-09-10 Thread Tuna Toksoz
() .Conventions.AddFromAssemblyOfEnumAsIntegerConvention() .ExportTo(@D:\Projects\NHibernate Mappings)); } I have tried using stateless session and looping with insert like Ayende suggested. I am using NServiceBus and MSMQ to send receive messages with btw. On Thu, Sep 10, 2009 at 3:53 PM, Tuna Toksoz tehl

[fluent-nhib] Re: .AdoNetBatchSize not working?

2009-09-10 Thread Tuna Toksoz
that with a StatelessSession and a transaction doing Session.Insert(entity). It did make a difference but not that much. Is there anything else I can specify like disabling autoflush? On Thu, Sep 10, 2009 at 4:51 PM, Tuna Toksoz tehl...@gmail.com wrote: and the code where you save? Tuna Toksöz Eternal

[fluent-nhib] Re: Prefix for table names using NH 2.1 / Fluent NH 1.0

2009-08-31 Thread Tuna Toksoz
Conventions? Tuna Toksöz Eternal sunshine of the open source mind. http://devlicio.us/blogs/tuna_toksoz http://tunatoksoz.com http://twitter.com/tehlike On Mon, Aug 31, 2009 at 8:24 PM, Bruce bruce.aberne...@gmail.com wrote: I've tried searching on this quite a bit, so hopefully it isn't

[fluent-nhib] Re: FNH and LinqNH

2009-08-26 Thread Tuna Toksoz
FNH is for setting up session factory, after you set it up, it is all about NH itself Tuna Toksöz Eternal sunshine of the open source mind. http://devlicio.us/blogs/tuna_toksoz http://tunatoksoz.com http://twitter.com/tehlike On Wed, Aug 26, 2009 at 9:09 PM, Josh Coffman

[fluent-nhib] Re: Data migrations and two NHibernate sessions

2009-08-23 Thread Tuna Toksoz
Why not using some other tool to do this job? and yes, Paul is very right. It has something to do with NH and nhusers is a better place Tuna Toksöz Eternal sunshine of the open source mind. http://devlicio.us/blogs/tuna_toksoz http://tunatoksoz.com http://twitter.com/tehlike On Wed, Aug 19,

[fluent-nhib] Re: using Guid.Native identifier strategy

2009-08-20 Thread Tuna Toksoz
What's guid native? Tuna Toksöz Eternal sunshine of the open source mind. http://devlicio.us/blogs/tuna_toksoz http://tunatoksoz.com http://twitter.com/tehlike On Thu, Aug 20, 2009 at 10:43 PM, kasvis...@gmail.com kasvis...@gmail.comwrote: I dont see the Guid.Native option in Fluent

[fluent-nhib] Re: using Guid.Native identifier strategy

2009-08-20 Thread Tuna Toksoz
the Identity generator. Let me know if I am mistaken. Thanks On Aug 20, 3:45 pm, Tuna Toksoz tehl...@gmail.com wrote: What's guid native? Tuna Toksöz Eternal sunshine of the open source mind. http://devlicio.us/blogs/tuna_toksozhttp://tunatoksoz.comhttp://twitter.com/tehlike On Thu

[fluent-nhib] Re: 1.0RC bug? (Reserved words in table/column names) (Incorrect syntax near the keyword 'User')

2009-08-17 Thread Tuna Toksoz
Or perhaps correspondance in FNH for this property name=hbm2ddl.keywordsauto-quote/property Tuna Toksöz Eternal sunshine of the open source mind. http://devlicio.us/blogs/tuna_toksoz http://tunatoksoz.com http://twitter.com/tehlike On Mon, Aug 17, 2009 at 8:35 AM, James Gregory

[fluent-nhib] Re: alternate ID

2009-08-04 Thread Tuna Toksoz
Do you mean that this table doesn't have Guid but instead HiLo?Are you using auto-mapping? Tuna Toksöz Eternal sunshine of the open source mind. http://devlicio.us/blogs/tuna_toksoz http://tunatoksoz.com http://twitter.com/tehlike On Mon, Aug 3, 2009 at 10:35 PM, Fregas fre...@gmail.com

[fluent-nhib] Re: Using Interface proxies

2009-06-25 Thread Tuna Toksoz
NHibernate can use interfaces when you used. http://fabiomaulo.blogspot.com/2008/10/entity-name-in-action-entity.html See this. I think it is supported by 2.1(i may be wrong) so If this is the case, it is not yet supported by FNH. Tuna Toksöz Eternal sunshine of the open source mind.

[fluent-nhib] Re: Using Interface proxies

2009-06-25 Thread Tuna Toksoz
, 2009 at 10:21 PM, Tuna Toksoz tehl...@gmail.com wrote: NHibernate can use interfaces when you used. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Fluent NHibernate group. To post to this group, send email

[fluent-nhib] Re: The type initializer for 'NHibernate.Cfg.Configuration' threw an exception.

2009-06-21 Thread Tuna Toksoz
Was there any inner exception? Tuna Toksöz Eternal sunshine of the open source mind. http://devlicio.us/blogs/tuna_toksoz http://tunatoksoz.com http://twitter.com/tehlike On Sun, Jun 21, 2009 at 7:03 AM, AzamSharp azamsh...@gmail.com wrote: For some reason I am getting the following

[fluent-nhib] Re: schema-action support

2009-06-05 Thread Tuna Toksoz
:25 PM, Tuna Toksoz tehl...@gmail.com wrote: Is it of any use to have some stuff that directly takes an XML part? Tuna Toksöz Eternal sunshine of the open source mind. http://devlicio.us/blogs/tuna_toksoz http://tunatoksoz.com http://twitter.com/tehlike On Fri, Jun 5, 2009 at 2:22 PM

[fluent-nhib] Re: hi

2009-06-04 Thread Tuna Toksoz
Looks like you're in spam list of several sources. Tuna Toksöz Eternal sunshine of the open source mind. http://devlicio.us/blogs/tuna_toksoz http://tunatoksoz.com http://twitter.com/tehlike On Thu, Jun 4, 2009 at 4:40 PM, bala balaji@gmail.com wrote: the wiki is not working from

[fluent-nhib] Re: Discriminator type other than String

2009-04-15 Thread Tuna Toksoz
Ups wait, bool type asks for true false kind of thing. I wil lfind. Tuna Toksöz Eternal sunshine of the open source mind. http://devlicio.us/blogs/tuna_toksoz http://tunatoksoz.com http://twitter.com/tehlike On Wed, Apr 15, 2009 at 8:33 PM, Tuna Toksoz tehl...@gmail.com wrote: What

[fluent-nhib] Re: Discriminator type other than String

2009-04-15 Thread Tuna Toksoz
-mapping As Hudson said, the only real difference I see between that and what you've got is the capitalization of the value discriminator-value attribute. However, I thought that System.Boolean.Parse(String value) was case-insensitive. Thoughts? -steve On Apr 15, 2:35 pm, Tuna Toksoz tehl

[fluent-nhib] Re: http://wiki.fluentnhibernate.org/ Access denied

2009-04-10 Thread Tuna Toksoz
Works fine for me Tuna Toksöz Eternal sunshine of the open source mind. http://devlicio.us/blogs/tuna_toksoz http://tunatoksoz.com http://twitter.com/tehlike On Fri, Apr 10, 2009 at 8:47 PM, James Gregory jagregory@gmail.comwrote: Fine here, anyone else seeing this? On Fri, Apr 10,

[fluent-nhib] Re: http://wiki.fluentnhibernate.org/ Access denied

2009-04-10 Thread Tuna Toksoz
Can you try with ktunnel.com Tuna Toksöz Eternal sunshine of the open source mind. http://devlicio.us/blogs/tuna_toksoz http://tunatoksoz.com http://twitter.com/tehlike On Fri, Apr 10, 2009 at 9:03 PM, Victor Kornov wee...@gmail.com wrote: Cleared cookies in FF, same result. Only it sets

[fluent-nhib] Re: SchemaUpdate and Fluent NH

2009-03-16 Thread Tuna Toksoz
Just go with mssql 200x (where x!=0) or SqlExpress if you can. Tuna Toksöz http://tunatoksoz.com http://devlicio.us/blogs/tuna_toksoz http://twitter.com/tehlike Typos included to enhance the readers attention! On Mon, Mar 16, 2009 at 10:12 AM, Sushant mpsk2...@gmail.com wrote: Does SQL

[fluent-nhib] Re: SchemaUpdate and Fluent NH

2009-03-16 Thread Tuna Toksoz
I guess oracle and mssql are fine enough. But I may be wrong on the others. Tuna Toksöz http://tunatoksoz.com http://devlicio.us/blogs/tuna_toksoz http://twitter.com/tehlike Eternal sunshine of the open source mind. On Mon, Mar 16, 2009 at 12:22 PM, Sushant mpsk2...@gmail.com wrote: Cool.

[fluent-nhib] Re: Can the responsibility of creating the NH Configuration object be seperated from the method that builds the session factory

2009-03-02 Thread Tuna Toksoz
If i recall correct, there was expose method on the FNH stuff. Tuna Toksöz http://tunatoksoz.com http://turkiyealt.net http://twitter.com/tehlike Typos included to enhance the readers attention! On Mon, Mar 2, 2009 at 11:59 AM, christianacca christian.crowhu...@btinternet.com wrote: To do

[fluent-nhib] Re: Can I get the nh's Configuration instance from FluentConfiguration?

2009-02-16 Thread Tuna Toksoz
1. Fluently.Configure() 2. .Database(/* your database settings */) 3. .Mappings(/* your mappings */) 4. .ExposeConfiguration(/* alter Configuration */) // optional 5. .BuildSessionFactory(); says the post on James blog? Tuna Toksöz http://tunatoksoz.com

[fluent-nhib] Re: Can I get the nh's Configuration instance from FluentConfiguration?

2009-02-16 Thread Tuna Toksoz
object to Fluently.Configure() ? Thanks On Tue, Feb 17, 2009 at 3:15 PM, Tuna Toksoz tehl...@gmail.com wrote: Fluently.Configure() .Database(/* your database settings */) .Mappings(/* your mappings */) .ExposeConfiguration(/* alter Configuration */) // optional

[fluent-nhib] Re: Looking for a way to contribute

2009-02-03 Thread Tuna Toksoz
using Hibernate and NHibernate for a while now, and I'd like to offer my services to one of the (sub)projects for NHibernate. I've recently started with TDD and am trying to make clean, testable applications. That's why immediately Fluent NH caught my attention when Tuna Toksoz blogged about

[fluent-nhib] Re: Looking for a way to contribute

2009-02-03 Thread Tuna Toksoz
services to one of the (sub)projects for NHibernate. I've recently started with TDD and am trying to make clean, testable applications. That's why immediately Fluent NH caught my attention when Tuna Toksoz blogged about it. I'd like to start contributing to the project, but I'm unsure where to start

[fluent-nhib] NH Meta Mapping work - Testing issue

2009-01-31 Thread Tuna Toksoz
Hello, I managed to make it work for classes with no relations, but pure properties. However I haven't written tests for it because I am playing with ideas and was changing the design every 3 hours :) Now I guess I found something useful-if not perfect, and I wonder how should I test it? It is a

[fluent-nhib] Re: NH Meta Mapping work - Testing issue

2009-01-31 Thread Tuna Toksoz
31, 2009 at 2:24 PM, Paul Batum paul.ba...@gmail.com wrote: I think it is a bit difficult to discuss without an example. Can you illustrate the situation with some code? Paul Batum On Sat, Jan 31, 2009 at 10:23 PM, Tuna Toksoz tehl...@gmail.com wrote: Hello, I managed to make it work

[fluent-nhib] Re: NH Meta Mapping work - Testing issue

2009-01-31 Thread Tuna Toksoz
I can't think of a better way, however, there are times that the error cannot be seen until session.Save(myObject) stuff. I guess I will have one integration test that has various kind of mapping(many to one, one to many,one to one etc) and have Assertions on property equality. Tuna Toksöz

[fluent-nhib] Re: NH Meta Mapping work - Testing issue

2009-01-31 Thread Tuna Toksoz
No, there is some validation implicitly. Last night, I remember setting some prop(let's call it Name) Table x=mappings.AddTable();//gmail code x.Name=FluentNHibernate.Testing.Domain.Person//that is actually typeName.FullName, by mistake NH has no way to determine this, for example. There are

[fluent-nhib] Re: Handling dependency versions

2009-01-27 Thread Tuna Toksoz
between versions. On Tue, Jan 27, 2009 at 9:11 PM, Tuna Toksoz tehl...@gmail.com wrote: Hello, As you may remember, Paul has created a branch for fluent nh semantic, and I have started working there with NHibernate Metadata stuff. Yesterday, Paul warned me that my work doesn't build against

[fluent-nhib] Re: Handling dependency versions

2009-01-27 Thread Tuna Toksoz
This is what me and Paul thought about. Easy, ugly, but again easy. PS: I noted that this nh meta mapping stuff is so primitive that it is hard to work. Let's see how far i can go before i give up :) Tuna Toksöz http://tunatoksoz.com Typos included to enhance the readers attention! On Wed,

[fluent-nhib] Re: Rethinking Fluent NHibernate

2009-01-22 Thread Tuna Toksoz
to sketch out each broad area before I start filling in the detail. I'm just finishing the work on demonstrating support for multiple nhibernate versions and then I will be moving on to conventions. On Thu, Jan 22, 2009 at 3:54 AM, Tuna Toksoz tehl...@gmail.com wrote: Hi Paul, I guess

[fluent-nhib] Re: Rethinking Fluent NHibernate

2009-01-21 Thread Tuna Toksoz
multiple versions of nhibernate but I am yet to demonstrate that this is possible. There is some risk that you will begin this work only to later discover that its not going to work. I would of course, like to hear your thoughts on the design. Paul Batum On Tue, Jan 20, 2009 at 7:49 PM, Tuna

[fluent-nhib] Re: Rethinking Fluent NHibernate

2009-01-21 Thread Tuna Toksoz
at 5:46 PM, Tuna Toksoz tehl...@gmail.com wrote: Ok, I will go with what you suggest and lets see what happens :) Tuna Toksöz http://tunatoksoz.com Typos included to enhance the readers attention! On Tue, Jan 20, 2009 at 1:52 PM, Paul Batum paul.ba...@gmail.com wrote: Hi Tuna, One

[fluent-nhib] Re: Rethinking Fluent NHibernate

2009-01-20 Thread Tuna Toksoz
You mentioned my name, so here is the question: I have some freetime (some weeks) that I can spend on fluent nhibernate and I don't know where to start. Create a seperate branch and work there or what? I also don't really know how to test them because the story goes on SimpleValue, Property