我建的不是linq to sql类,而是DataContext与实体
如
[Table(Name = "tb_ImagesInfo")]
public class ImagesInfo
{
/// <summary>
/// 图片编号
/// </summary>
[Column(Name = "ImageID", DbType = "int",IsPrimaryKey=true, IsDbGenerated = true, CanBeNull = false)]
public int ImageId { get; set; }怎么样调用存储过程?
如
[Table(Name = "tb_ImagesInfo")]
public class ImagesInfo
{
/// <summary>
/// 图片编号
/// </summary>
[Column(Name = "ImageID", DbType = "int",IsPrimaryKey=true, IsDbGenerated = true, CanBeNull = false)]
public int ImageId { get; set; }怎么样调用存储过程?
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货