From: <aye...@us...> - 2010-01-08 07:20:04
|
Revision: 1240 http://nhcontrib.svn.sourceforge.net/nhcontrib/?rev=1240&view=rev Author: ayenderahien Date: 2010-01-08 07:19:57 +0000 (Fri, 08 Jan 2010) Log Message: ----------- Branch for NHibernate Search binaries for NH 3.x trunk Modified Paths: -------------- branches/NHibernate.Search-NH3.x/NHibernate.Search/Impl/FullTextSessionImpl.cs branches/NHibernate.Search-NH3.x/NHibernate.Search/NHibernate.Search.csproj Added Paths: ----------- branches/NHibernate.Search-NH3.x/ Modified: branches/NHibernate.Search-NH3.x/NHibernate.Search/Impl/FullTextSessionImpl.cs =================================================================== --- trunk/src/NHibernate.Search/src/NHibernate.Search/Impl/FullTextSessionImpl.cs 2010-01-07 17:05:12 UTC (rev 1239) +++ branches/NHibernate.Search-NH3.x/NHibernate.Search/Impl/FullTextSessionImpl.cs 2010-01-08 07:19:57 UTC (rev 1240) @@ -436,8 +436,25 @@ } #endif - public IQuery CreateQuery(string queryString) +#if NHIBERNATE30 + public IQueryOver<T, T> QueryOver<T>() where T : class { + return session.QueryOver<T>(); + } + + public IQueryOver<T, T> QueryOver<T>(System.Linq.Expressions.Expression<Func<T>> alias) where T : class + { + return session.QueryOver(alias); + } + + public IQuery CreateQuery(IQueryExpression queryExpression) + { + return session.CreateQuery(queryExpression); + } +#endif + + public IQuery CreateQuery(string queryString) + { return session.CreateQuery(queryString); } Modified: branches/NHibernate.Search-NH3.x/NHibernate.Search/NHibernate.Search.csproj =================================================================== --- trunk/src/NHibernate.Search/src/NHibernate.Search/NHibernate.Search.csproj 2010-01-07 17:05:12 UTC (rev 1239) +++ branches/NHibernate.Search-NH3.x/NHibernate.Search/NHibernate.Search.csproj 2010-01-08 07:19:57 UTC (rev 1240) @@ -14,13 +14,14 @@ <OldToolsVersion>2.0</OldToolsVersion> <UpgradeBackupLocation> </UpgradeBackupLocation> + <TargetFrameworkVersion>v3.5</TargetFrameworkVersion> </PropertyGroup> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> <DebugSymbols>true</DebugSymbols> <DebugType>full</DebugType> <Optimize>false</Optimize> <OutputPath>bin\Debug-2.0\</OutputPath> - <DefineConstants>TRACE;DEBUG;NHIBERNATE21</DefineConstants> + <DefineConstants>TRACE;DEBUG;NHIBERNATE21 NHIBERNATE30</DefineConstants> <ErrorReport>prompt</ErrorReport> <WarningLevel>4</WarningLevel> </PropertyGroup> @@ -51,6 +52,9 @@ </Reference> <Reference Include="System" /> <Reference Include="System.configuration" /> + <Reference Include="System.Core"> + <RequiredTargetFramework>3.5</RequiredTargetFramework> + </Reference> <Reference Include="System.Data" /> <Reference Include="System.Xml" /> </ItemGroup> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |