FIX: ?????? ????? ?? ?? ?? "LINQ ???? ?? ??? ?????" ?????? ?? ????? ???????? ???????? ?? ???? SQL Server ??????? 3.5 ??????? ?? ??????? ??????? ????????: "ntext ?? ??? ???? ?????? ???, ???? ???? ???? ?? ???? BY, ???? ?? clauses IN ???? ????,"

???? ?????? ???? ??????
???? ID: 958478 - ?? ???????? ?? ?????? ??? ?? ?? ???? ???? ???? ??.
??? ?? ??????? ???? | ??? ?? ??????? ????

?? ????? ??

??????

?? ???? ????? ?? ???????? ?????? ?? ???? ??? ????? ??:
  • ???????? ?????? ?? ?????? ??????? ?? ?? ????????
  • ???????? ?????? ?? ??????? ???? ?? ??? ???? ?? ??? ??
  • ???? ?? ???????? ???????? ???? ?????? ???????? ?????? ?? ??????? ???? ?? ???
  • ???? ???????? ????? ?? ??? ?? ???? ???????? ????? ??? ??
  • ???? ?? ????????? ???????? ????? ?????
  • ???????? ?????? ??? ????? ??? ?? ??????

?????

?? ???????? ?? ????? ????.. ??? ????????? Microsoft ADO.NET ????? Framework Microsoft .NET Framework 3.5 ?????? ??? 1 ???? Microsoft SQL Server ??????? 3.5 ??????? ?? ??????? ??? ????? ?? ?? ????? ???? ??? ????????? ??? ???? "LINQ ???? ?? ??? ?????" ?????? ???????? ???????? ?? ??????? ?? ??????? ??? ??????? ???????? ?? ????? ???? ?? ?? ????? ??? ?? ???????? ???, ???? ????? ?????? ????? ?? ?? ????????? ?????:
Ntext ?? ??? ???? ?????? ???, ???? HAVING, ???? BY, ON ?? IN clauses, ?? ?? ??? ?? ?? ?? ???? ?????? LIKE ?? ??? ????? ??? ???? ??? ?? ?? predicates IS ????? ???? ???? ?? ???? ???

????

?? ?? ???? ????????? ??? ?? "LINQ ???? ?? ??? ?????" ?????? ?? ??? ???????? ?? ?????, ???? ??????? ?????? ????????? ???? ???? ?? ???? ??? SQL ????? ??????? ????? Framework ??????? ???????-???? ???????? ?? ???? ?? ??? ???????? ?? ????? ???? ???? (EDM) facets ????? ?? ?????? ???? ??? SQL ????? ??????? ?????? ???? ???? ??nvarchar(Max)???? ?????? ??varbinary(Max)???? ??????:. ?????, ?? ??????? ????? ?? ?? ???????? ?? ??? ???? ??????Edm.String???? ?????? ?? ??Edm.Binary???? ??????, ??????? ?? ???????? ?? ?? ????? ???? ?????? ?? ???? ?? EDM facets ???????? ?? ??? ??? ??????? ???? ?? ???:
  • ?? ??? ???? ???????? ??? ???????? ?? ??? ??????? ??nvarchar(4000)???? ?????? ??ntext???? ??????:.
  • ???? ?????? ???????? ?? ??? ??????? ?????varbinary(4000)???? ?????? ????????? ??????:.
??? ??????? ???????? ?? ??? ??? ??????? ???? ??nvarchar(4000)???? ?????? ?? ????varbinary(4000)???? ??????, ?? ?????? ?? ??? ?? ?? 8,000 ?????? ?? ???? ??? ???????? ???? ?? ?????? ????? ??? ??, ??? ??????? ???????? ?? ??? ??? ??????? ???? ??ntext???? ?????? ?? ??????????? ??????, ?????? ?? ???? ?? ?? ???? ?? equality ????????, ???????? ???? ?? ????????, ?? ???????? ???????? ??? ???? ?? ?? ?????????

????????

???????? ???????

?? ??????? ????????? Microsoft ?? ?????? ??.. ???????, ?? ????????? ???? ?? ?????? ??? ???? ?? ??? ?????? ?? ???? ?? ???? ??? ?????? ???? ??? ??.. ?? ????????? ???? ?? ???????? ?? ???? ???? ?? ?? ???? ??? ?????? ?????? ?? ????? ?? ??? ???.. ?? ????????? ???? ???????? ??????? ??????? ???.. ?????, ??? ?? ?? ?????? ?? ????? ??? ?? ???????? ???? ???, ?? ?? ??????? ???? ??? ?? ?? ?? ????????? ???? ???? ?????????? ?????? ?? ??? ????????? ????..

??? ????????? ??????? ?? ??? ?????? ??, ?? ?? ?????? ??? ???? ?? ????? ?? ?? "????????? ??????? ??????" ?????? ???? ??.. ??? ?? ?????? ????? ???? ???? ??, ?? ????????? ??????? ???? ?? ??? Microsoft ?????? ???? ?? ?????? ?? ?????? ????..

???:??? ???????? ???????? ??????? ???? ?? ?? ??? ??? ?? ?????? ?????? ??, ?? ???? ?? ??? ???? ?????? ????? ?? ??? ?? ?? ???? ??? ???????? ?????? ???????? ?? ?? ???????? ?? ??? ?? ?????? ????? ???? ???? ?? ?? ??????? ????????? ?? ??? ????? ???? ???.. Microsoft ?????? ???? ?? ?????? ???????? ?????? ?? ?? ????? ???? ?? ??? ?? ?? ??? ???? ?????? ????? ?? ???, ????? Microsoft ??? ???? ?? ????::
http://support.microsoft.com/contactus/?ws=support
???:"???????? ??????? ?????? ??" ?????? ?????? ?? ?????? ???????? ?????? ?? ?? ????????? ???? ??? ??? ?? ???? ???? ???? ????? ???, ?? ??? ????? ?? ??????? ?? ???? ?? ??? ??? ????????? ?????? ???? ??..

??????????????

?? ???????? ?? ???? ???? ?? ??? ?? ???? ?? ??????? SQL Server ??????? 3.5 ?????? ??? 1 ?? ???????? ?? ??? ??? ?? .MSI ????? ??????? ???? ?? ??? ??????? ???? ???? ????? ??? ?? ???? ?? ??????? SQL Server ??????? 3.5 ?????? ??? 1 ??????? ???? ????, ?? ???? ????? ?? ?? SQL ????? ??????? ?? ???? ??? ???? ??????? ???? ?? ?? ??????? ?? ?? ???? ??????? ?????? ????? ??????? ???? ???SQL Server ??????? 3.5 ?????? ??? 1 ?? ???? ??? ???? ??????? ?? ??? Microsoft ???????? ??? ???? ????? ?? ??? ????? ???? ?????? ?? ????? ????:
955965SQL ????? ?? ????? ??????? 3.5 ?????? ??? 1

???? ??????? ???????

???? ?? ????????? ???? ???? ?? ??? ???????? ?? ???? ??????? ???? ???? ??????..

????????? ???????

?? ????????? ?? ????????? ???? ?? ??? ???? ???

???????? ????? ???????

?? ???????? ??? ???? ?? ??????? ?? ?? ???? ??? ???????? ???? ???????? ?? ??? ???? ?? ??? ?????? ??? ?? ???????? ?? ?????? ????? ???? ??? ?? ?????? ?????? ???? ?? ??? ???? ??? ?????? ??? ??????? ??? ???? ?? ???? ???

?? ????????? ?? ????????? ??????? ??? ?? ????? ????????? (?? ??? ?? ????? ?????????) ??? ?? ????? ?????? ??? ???????? ???.. ?? ??????? ?? ??? ?????? ?? ???, ??????? ????????? ??? (UTC) ??? ???????? ??.. ?? ?? ????? ??????? ????? ???, ?? ?? ??????? ??? ??? ?????? ???? ???? ??.. "UTC ?? ??????? ??? ??? ???? ????? ?? ???, ???????? ??? ??? ""?????? ?? ??? ???"" ??? """"??? ???????"" "??? ????????? ?? ??????????? ???? ??? ???? ???
?? ?????? ?? ??????? ?????? ?????? ?? ??????? ????
????? ???????? ?? ???????????? ?????????????:??????????
System.DATA.sqlserverce.entity.dll3.5.5692.1230,48024-???-200806: 46x 86 / x 64/IA-64
System.DATA.sqlserverce.dll3.5.5692.1271,44024-???-200806: 46x 64 / x 86
Policy.3.5.SYSTEM.DATA.sqlserverce.dll3.5.5692.113,39224-???-200806: 46x 64 / x 86
Policy.3.5.SYSTEM.DATA.sqlserverce.entity.dll3.5.5692.113,39224-???-200806: 46x 64 / x 86
Sqlceca35.dll3.5.5692.1343,10424-???-200808: 07x86
Sqlcecompact35.dll3.5.5692.184,54424-???-200808: 07x86
Sqlceer35en.dll3.5.5692.1148,03224-???-200808: 07x86
Sqlceme35.dll3.5.5692.165,08824-???-200808: 07x86
Sqlceoledb35.dll3.5.5692.1172,60824-???-200808: 07x86
Sqlceqp35.dll3.5.5692.1644,16024-???-200808: 07x86
Sqlcese35.dll3.5.5692.1348,22424-???-200808: 07x86

??????

Microsoft ?? ?????? ?? ?? ?? ?? ?? Microsoft ???????? ??? ?? ?????? ?? ?? "???? ???? ???? ???" ?????? ???????? ???..

???? ???????

?? ???????? ???? ???? ?? ??? ??????? ?? ?? ???????? ?? ??? ???? ?????? ?????? ????? ????EDM.String???? ?????? ?? ??EDM.Binary???? ??????:. ?????? ???????? ?? ??? ?? ???????? ????? ??? ?? ?? ?? ???????? ?? equated ???? ?? ??? ????? ?? ?? ??? ?? ?????? ???????? ?? ??? ??? ???? ?????? ?? ??? ???? ???

?????? ?? ???, ????? ????? SQL ?????? ??? ?????? ???????? ?????ntext???? ?????? ?? ???????? ???????? ?? ???? ???? ?? ???? ?????????
String name = "XYZ";
var q = from e in nwind.Employees
           where e.First_Name = name
           select e;
?? ???????? ???? ???? ?? ??? ???? ?? ??????First_Name????? ?? ??? ???? ??? ??????????????

???????, ????? ?????? ??? "LINQ ???? ?? ??? ?????" ?????? ???? ??????????? ???????? ?? ? ???? ?? ??? equated ?? ???? ???? ??? ?? ????? ?? ??? ????? ?????
String name = "XYZ";
var q = from e in nwind.Employees
           select name;
?? ???????? ?? SQL Server ??????? 3.5 ?? ??? readme ???????? ??? ????? ???? ??? ?? ?? ????? ?????? ?? ????? ???? ??????? ?? ???, ????? Microsoft ??? ???? ?? "SQL Server ??????? 3.5 SP1 ?????? ????? ?? ??? ADO.NET ????? Framework" ??? ?????:
HTTP://download.Microsoft.com/download/2/e/c/2ec70436-aef2-4ccb-93a3-ea2f3e20f77d/ReadmeSSC35.htm
?? ???????? ??????? constructs ?? ???? ???? ?? ??? scalar subqueries ??? ?????? ???? ?? ?? ??????? ???? ??? ?? ??? Transact SQL ??? ?? ??????? ?? ?? ?????? ?? ??????? ???? ???

???:Correlated subqueries ??? ?????? ???? ?? ??? scalar subqueries internally ??? ?? ?????? ??? correlated subqueries ??????? ???? ???? ?? ?? ?? ???????? ????? ???, ?? ???? ????? ?????? ????? ??????? ???? ??:
???? ??????? ????????? ???? ??? ??? ?????? ??????? ???? ????? ?? ??? ????? ????? ??????
????? ????? ????? ????? ??? ??:
?????? ?? ????? ???? ??? ??? ?????? ??? [..., ?????? ??? token = ???????]
???? ?? ?? ADO.NET ????? Framework interprets ????? ?????? ?? ??? ??? ???? ????? ????? ?????? ?? ????? OUTER ???? ?????? ?? ?? ???? ?????? ??? ????? ?? ???? ?? ???? ?? scalar ??? ???? ??, ??? ????? ??? ???? scalar subquery ?????? ??? SQL ????? ??????? ?? ??? ADO.NET ????? Framework ??????? ?? scalar subquery OUTER ???? ????? ?????? ??, ??? SQL Server ??????? ?????? ??????? ??? ?????? ?????? ?? ??? ?????? ???? ?? ??? ??? ???????, ?? ?????? ??? ?? ???????? ?? ??? ???? ??? ??? ?????? ?? ???, ??? ?????? ?? ?????? ??? ????? ?????? ?? ??? ???? ???
C# Sample Application:
using (NorthwindEntities nwEntities = new NorthwindEntities())
{
    var orders = nwEntities.Employees
                .Select(employee => employee.Orders.Max(order => order.Order_ID));
    foreach (var order in orders)
    {
       Console.WriteLine(order.ToString());
    }
}
SQL ????? ?????? ?? ??? ?????? ?????? ?? ???? ??? ???? ??????? ?? ??? Microsoft ???????? ??? ???? ????? ?? ??? ????? ???? ?????? ?? ????? ????:
822499Microsoft SQL Server ?????????? ?????? ???????? ?? ??? ??? ?????? ??????
?????????? ?????? ???????? ?? ???? ??? ???? ??????? ?? ???, Microsoft ?????? ??? ??? ???? ????? ?? ??? ????? ???? ?????? ????? ????::
824684Microsoft ?????????? ???????? ?? ????? ???? ?? ??? ????? ?? ???? ???? ???? ???????? ?? ?????
Note This is a "FAST PUBLISH" article created directly from within the Microsoft support organization. The information contained herein is provided as-is in response to emerging issues. As a result of the speed in making it available, the materials may include typographical errors and may be revised at any time without notice. See Terms of Use for other considerations.

???

???? ID: 958478 - ????? ???????: 06 ?????? 2010 - ??????: 2.0
???? ???? ???? ??:
  • Microsoft SQL Server Compact 3.5
??????: 
kbexpertiseadvanced kbfix kbautohotfix kbsurveynew kbqfe kbmt KB958478 KbMthi
???? ?????? ????????
??????????: ?? ???? ?? ???? ??????? ?? ????? ?? Microsoft ????-?????? ?????????? ?????? ?????? ???? ??? ??. Microsoft ???? ??? ????-???????? ?? ????-???????? ????? ?????? ?? ???? ???????? ???? ?? ???? ????? ????? ??? ?? ??? ?????? ?? ???? ???? ???? ??? ????? ??. ???????, ????-???????? ???? ????? ???? ???? ???? ???. ?????, ????????, ?????-???? ?? ??????? ?? ???????? ?? ???? ???, ???? ?? ??? ?????? ???? ???? ??? ????? ??? ?? ???? ??. Microsoft ??????? ??? ???? ?? ?????? ?? ??????????, ????????? ?? ??? ?????? ?? ???? ????? ?? ???? ???????? ?? ??? ???? ????? ?? ??? ????????? ???? ??. Microsoft ????-?????? ?????????? ?? ????? ?????? ?? ?? ??? ??.
?????????? ?? ??????? ????????? ??????? ??:958478

??????????? ???

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com