public static void Save(povinceEntity obj) { if (obj != null) { obj.Save(); } }
/// <summary>根据主键获取一个实�?/summary> public static povinceEntity RetrieveApovinceEntity(int id) { povinceEntity obj = new povinceEntity(); obj.id = id; obj.Retrieve(); if (obj.IsPersistent) { return(obj); } else { return(null); } }