示例#1
0
 public static tbl_Cluster HasTbl_Post(string UniqueCode)
 {
     tbl_Cluster cluster = new tbl_Cluster();
     try
     {
         cluster = (from m in db.tbl_Clusters
                    where m.UniqueCode == UniqueCode
                    select m).SingleOrDefault();
         if (cluster != null)
         {
         }
     }
     catch { cluster = null; }
     return cluster;
 }
 partial void Updatetbl_Cluster(tbl_Cluster instance);
 partial void Deletetbl_Cluster(tbl_Cluster instance);
 partial void Inserttbl_Cluster(tbl_Cluster instance);