public void InsertCompany()
        {
            DataClasses1DataContext dc = new DataClasses1DataContext();
            Comapny companyobj         = new Comapny();

            //companyobj.CompanyID = 123;
            companyobj.CompanyName      = "Cennest Technology";
            companyobj.ComapanyLocation = "Mumbai";
            companyobj.CompanyOwner     = "Daksh Sir";
            dc.Comapnies.InsertOnSubmit(companyobj);
            dc.SubmitChanges();
        }
Exemple #2
0
 partial void DeleteComapny(Comapny instance);
Exemple #3
0
 partial void UpdateComapny(Comapny instance);
Exemple #4
0
 partial void InsertComapny(Comapny instance);