[nhusers] Nhibernate.Linq 1.1.0.1001 has less methods implemented than 1.0.0.4000

2010-09-16 Thread fedehf
Hi. I've just upgraded from NH.Linq 1.0.0.4000 to NH.Linq 1.1.0.1001 so I could use Nhibernate 2.1.2.4000. When I ran my tests I encounter the problem that some methods weren't implemented in the newer version of linq. For example Intersect. Does anybody know how is this possible? Can I download

Re: [nhusers] Nhibernate.Linq 1.1.0.1001 has less methods implemented than 1.0.0.4000

2010-09-16 Thread Fabio Maulo
This is the second strange issue with the NH.Linq project of Contrib unfortunately we have deployed it in the same place of NH.Core... fortunately it won't happen anymore On Thu, Sep 16, 2010 at 6:41 PM, fedehf fedefre...@gmail.com wrote: Hi. I've just upgraded from NH.Linq 1.0.0.4000 to

[nhusers] NHibernate.Linq ignores collection joins

2010-08-19 Thread srkirkland
Hello -- I have an Order class which has a many-to-one relationship OrderedBy to a Customer class (picture Northwind). Now I tell the Order mapping to outer-join=true the OrderedBy relationship, which works fine using the criteria and query over methods. However, when using the new

Re: [nhusers] NHibernate.Linq ignores collection joins

2010-08-19 Thread John Davidson
This was discussed on the maillist earlier today that the linq provider in nhibernate does not yet have this functionality. If another method produces what you need then you should use that query method for now. John Davidosn On Thu, Aug 19, 2010 at 3:59 PM, srkirkland srkirkl...@gmail.com

[nhusers] NHibernate.Linq - The method CompareTo is not implemented.

2010-07-06 Thread Nikola Malovic
Here's the problem: in short I use comb.guid identity strategy and I need all the rows made after the saved marker.. Here's dummy code example of what I am trying to get: return session.Linq .Where(p = p.Id.CompareTo(lastSyncedEntityIdentity) == 1 )

[nhusers] NHibernate.Linq-1.1.0.1001 source code missing on sourceforge

2010-06-29 Thread shosca
Hi, I am looking for the source code for the nhibernate.linq provided on sourceforge. Could anybody point me to where i can download it? Thanks -- You received this message because you are subscribed to the Google Groups nhusers group. To post to this group, send email to

[nhusers] NHibernate.Linq Where clause doesn't do strings correctly

2010-04-24 Thread Sam
I'm new to nh so I could be doing something wrong, but here's my issue: I have an object that has a string property and I'm doing a NHib.Linq query, but the string portion is never enclosed in single quotes. In the meantime, I had to handwrite the query. code: var value =

Re: [nhusers] NHibernate.Linq Where clause doesn't do strings correctly

2010-04-24 Thread Oskar Berggren
Do you have an actual error? How do you know it's not enclosed in single quotes? I'm not very familiar with the LINQ-implementation, but shouldn't the values be sent using parameterized queries. No enclosing or escaping necessary. /Oskar 2010/4/24 Sam sam@gmail.com: I'm new to nh so I

Re: [nhusers] NHibernate.Linq Where clause doesn't do strings correctly

2010-04-24 Thread Tuna Toksoz
That being said, it would be cool if we can see NHProf or SQL Prof output for this query. Tuna Toksöz Eternal sunshine of the open source mind. http://devlicio.us/blogs/tuna_toksoz http://tunatoksoz.com http://twitter.com/tehlike On Sat, Apr 24, 2010 at 4:30 PM, Oskar Berggren

[nhusers] NHibernate.Linq IQueryable problem

2010-04-06 Thread Sean Chambers
I am running into the issue that is described here: http://stackoverflow.com/questions/1389561/cannot-count-on-iqueryable-nhibernate That problem always produces a WHERE NOT (1 = 1) on the where clause which always returns nothing. It seems as if NHibernate is not performing the cast correctly on

[nhusers] nhibernate.linq won't download

2010-03-24 Thread tqwhite
it shows an 88k file and gives me errors. Does anyone know someplace other than sourceforge I can get it? tqii -- You received this message because you are subscribed to the Google Groups nhusers group. To post to this group, send email to nhus...@googlegroups.com. To unsubscribe from this

Re: [nhusers] nhibernate.linq won't download

2010-03-24 Thread Tuna Toksoz
Are you using windows zip utility? 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, Mar 24, 2010 at 6:40 PM, tqwhite tqwh...@gmail.com wrote: it shows an 88k file and gives me errors. Does

[nhusers] NHibernate.Linq, WCF RIA Services, weird error.

2010-02-26 Thread Ikhwan Hayat
Hi all. I'm trying to use NHibernate.Linq with WCF RIA Services and Silverlight. I've created a Silverlight Business Application project, and these codes... I have this domain class: public class BaseDomain { public virtual Guid Id { get; set; } public virtual DateTime CreatedOn { get;

Re: [nhusers] NHibernate.Linq select bug

2010-02-18 Thread Diego Mijelshon
Next time, it would be better if you stated what the bug is, the context, etc. Anyway, I ran it and it tries to use the constant string in an incorrect way, so that's probably unsupported in 2.x. Have you tried with 3.x (trunk)? Diego On Wed, Feb 17, 2010 at 06:13, Rikard Pavelic

[nhusers] NHibernate.Linq select bug

2010-02-17 Thread Rikard Pavelic
I stumbled upon this bug while trying to use NHibernate.Linq [Test] public void SelectWithWrapping() { var list = (from user in session.LinqUser() select new Wrapper(user, xxx)).ToList(); Assert.AreEqual(3, list.Count); } public class Wrapper { public Wrapper(User

[nhusers] NHibernate.Linq on Mono?

2009-11-09 Thread Carl Hörberg
Just adore Linq for Nhibernate, but are there any words on Mono compability? I recieves the following stacktrace when i manually copied (can you even do that?) System.Data.Services.dll to the bin dir, as System.Data.Services.dll isn't implemented in Mono..

[nhusers] NHibernate.Linq : chain Expand()

2009-10-12 Thread Catalin DICU
Hello, When executing the following code I only get two players for each team and for the first team I even get two times the same player (there are more than 2 players in each team) INHibernateQueryableMatch queryable = session.LinqMatch();

[nhusers] NHibernate.Linq Like Query on Integer Column

2009-09-23 Thread roend
Hi, I'm having a problem trying to get NHibernate.Linq to generate a 'like' query on an integer column. The SQL that I'd like it to produce is: select IntegerColumn from Table where IntegerColumn like '%StringValue%' I've tried using the following code: from entity in _session.LinqEntity

[nhusers] NHibernate.Linq - problem using functions in select

2009-09-11 Thread Brett Carswell
Hi All, I've added the code below to SelectionTests.cs in NHibernate.Linq.Tests. I would expect this to work but instead get the exception below. I would expect this to work. Is there an issue with the Linq provider or am I misusing it. I'm sure I have done a similar thing in the past with Linq

[nhusers] NHibernate.Linq

2009-08-24 Thread spiralni
Good morning.. I have an application using .net2.0 and yesterday I started the migration to 3.5 framework (using nhibernate 2.1) , this is why I am interested in NHib.Linq, to see if I can make use of it. My request is Is NHibernate.Linq ready for production environments? Where Do I find

[nhusers] NHibernate.Linq 1.0.0 GA released

2009-07-26 Thread Tuna Toksoz
Although you may have heard the news before this message arrives your email box, I still want to announce the release of NHibernate.Linq More info can be found at http://nhforge.org/blogs/nhibernate/archive/2009/07/26/nhibernate-linq-1-0-ga-released.aspx

[nhusers] NHibernate.Linq - Skip, Take, OrderBy

2009-04-28 Thread John
I have a query object I am using which has the following function public IQueryableT Execute(IRepositoryT repository) { return repository.AsQueryable().Skip(skip).Take(take).OrderBy(t = t.OrderPosition); } I'm finding it's not working. As soon as I remove the OrderBy it works fine.

[nhusers] NHibernate.Linq compilation with latest NHibernate build

2009-02-05 Thread fromano2802
Hello, has anyone tried to compile NHibernate.Linq using the latest NHibernate build (2.1.0.1001)? I am trying to use NHibernate.Linq with rhino-tools (which uses the lastest nhibernate build). I tried and it gives me several error especially with the ICriteria interface. Few of the properties

[nhusers] NHibernate.Linq Alpha Released

2009-01-15 Thread Chad Lee
NHibernate.Linq is a Linq provider for NHibernate 2.0.1 GA. It processes Linq expressions using NHibernate's Criteria API. This release is meant as a stopgap release pending an implementation not reliant on the Criteria API. Most queries are supported with the exception of the following: -