public static void Save(Entity系统选项表 obj) { if (obj != null) { obj.Save(); } }
/// <summary>根据主键获取一个实体</summary> public static Entity系统选项表 RetrieveAEntity系统选项表(int ID) { Entity系统选项表 obj = new Entity系统选项表(); obj.ID = ID; obj.Retrieve(); if (obj.IsPersistent) { return(obj); } else { return(null); } }