//更新单个(查ID) public static int Update(M_Material Obj, ref string ErrMsg) { I_Material I = (D_Material)SimpleFactory.CreateObject(DBType.Material); return I.Update(Obj, ref ErrMsg); }