Exemplo n.º 1
0
 public static KuaidiComInfo Get(int intCompanyID)
 {
     return((from p in KuaidiCom.Load()
             where p.AutoID.Equals(intCompanyID)
             select p).FirstOrDefault <KuaidiComInfo>());
 }
Exemplo n.º 2
0
 public static KuaidiComInfo Get(string strCompanyCode)
 {
     return((from p in KuaidiCom.Load()
             where p.CompanyCode.Equals(strCompanyCode)
             select p).FirstOrDefault <KuaidiComInfo>());
 }