public string Clear() { YogaEntities ye = new YogaEntities(); ye.ExecuteStoreCommand("delete ImportRecord"); return ye.SaveChanges() == 0 ? "清场成功" : "清场失败"; }
public string Clear() { YogaEntities ye = new YogaEntities(); ye.ExecuteStoreCommand("delete ImportRecord"); return ye.SaveChanges() == 0 ? "清场成功" : "清场失败"; }