コード例 #1
0
        public void createSampleClients()
        {
            DBA.Client client = new DBA.Client();
            client.FirstName = "Juhan";
            client.LastName = "Kalamees";
            client.Email = "*****@*****.**";
            client.DocumentNumber = "123 DOC MNR";
            client.VIP = true;
            client.Phone = "241423123";
            client.IDCode = 12345670;

            saveClient(client);

            DBA.Client client2 = new DBA.Client();
            client2.FirstName = "Kala";
            client2.LastName = "Viidikas";
            client2.Email = "*****@*****.**";
            client2.DocumentNumber = "12334444 DOC MNR";
            client2.VIP = false;
            client2.Phone = "23333";
            client2.IDCode = 12345671;

            saveClient(client2);

            DBA.Client client3 = new DBA.Client();
            client3.FirstName = "Suur";
            client3.LastName = "Loom";
            client3.Email = "*****@*****.**";
            client3.DocumentNumber = "66666 DOC MNR";
            client3.VIP = false;
            client3.Problematic = true;
            client3.IDCode = 12345673;

            saveClient(client3);
        }
コード例 #2
0
 partial void UpdateClient(Client instance);
コード例 #3
0
 partial void DeleteClient(Client instance);
コード例 #4
0
 partial void InsertClient(Client instance);