Esempio n. 1
0
 partial void Deleteclient(client instance);
Esempio n. 2
0
 partial void Insertclient(client instance);
Esempio n. 3
0
 partial void Updateclient(client instance);
Esempio n. 4
0
        /// <summary>
        /// Returns a client based on the ID
        /// </summary>
        /// <param name="ID"></param>
        /// <returns></returns>
        public client GetClientByID(int ID)
        {
            client client = dbcontext.clients.Where(x => x.ID == ID).FirstOrDefault();

            return(client);
        }