8,497
社区成员
发帖
与我相关
我的任务
分享
public static class DataContextPlus
{
public static bool SubmitChangesWithReturnValue(this DataContext t)
{
try
{
t.SubmitChanges();
return true;
}
catch
{
return false;
}
}
}