没用建linq to sql 类,而是建的实体对象映射到数据表,如
[Table(Name = "tb_PhotoAlbumInfo")]
public class PhotoAlbumInfo
{
/// <summary>
/// 相册名称
/// </summary>
[Column(Name = "PhotoAlbumName", IsPrimaryKey = true, CanBeNull = false, DbType = "varchar(50) not null")]
public string PhotoAlbumName { get; set; }
该如何调用存储过程呢??