Exemplo n.º 1
0
 static void Main(string[] args)
 {
     DBClass dbclass = new DBClass();
     string connestionString = ConfigurationSettings.AppSettings["ConnStr"];
     string ticket = dbclass.GetAuthorizationTicket();
     if (!string.IsNullOrEmpty(ticket))
     {
         dbclass.GetAllManufacture(ticket,connestionString);
     }
 }
Exemplo n.º 2
0
        static void Main(string[] args)
        {
            DBClass dbclass = new DBClass();
            string connestionString = ConfigurationSettings.AppSettings["ConnStr"];
            string ticket = dbclass.GetAuthorizationTicket();
            if (!string.IsNullOrEmpty(ticket))
            {
                dbclass.GetAllManufacture(ticket, connestionString);
                //hello
                dbclass.GetAllBrandByManufactureId("", "", "");

            }
             //   dbclass.InsertStyleFromFile(connestionString);
        }