110,534
社区成员
发帖
与我相关
我的任务
分享
public partial class PrintConfig
{
[Key]
public string id { get; set; }
public string wellid { get; set; }
public byte[] configdata { get; set; }
}
//下面是执行代码:
PrintConfig printConfig = new PrintConfig { id = configid, wellid = wellid, configdata = buffer };
entities.PrintConfig.Add(printConfig);
entities.SaveChanges();