Skip to main content

Home/ lzby's group/ Group items tagged sql

Rss Feed Group items tagged

boho .net

Profiles In ASP.NET 2.0 - 0 views

  •  
    The ASP.NET team implemented the profile management features using a provider model. A base ProfileProvider class defines the interface, or contract, that all profile providers must implement. ASP.NET 2.0 ships with an implementation of the ProfileProvider that uses SQL Server - the SqlProfileProvider class. SqlProfileProvider implements the ProfileProvider methods (like FindProfilesByUserName) by executing stored procedures in SQL Server.
boho .net

是否会成为问题--Linq to Sql的执行可能无法复用查询计划 - 赵劼 - 51CTO技术博客-领先的IT技术博客 - 0 views

  • 就是这个原因。在使用ADO.NET时,如果SqlParameter的Type是nvarchar,并且没有指定Size属性,则可能就会因为具体参数的尺寸不同而造成查询计划无法复用的结果。这一点,很多人都忽视了。
  • 不过我们还是幸运的,因为我根据我的经验,似乎在查询条件中使用长度不等的字符串作为参数的情况并不多见。不是么?
  •  
    在使用ADO.NET时,如果SqlParameter的Type是nvarchar,并且没有指定Size属性,则可能就会因为具体参数的尺寸不同而造成查询计划无法复用的结果。这一点,很多人都忽视了。
1 - 10 of 10
Showing 20 items per page