Exemple #1
0
        static void DeleteBehandlingType()
        {
            BehandlingsType behandlingsType = new BehandlingsType(Con());

            behandlingsType.GetSetBehandlingsType = "'Syning'";
            behandlingsType.Delete();
        }
Exemple #2
0
        static void OpretBehandlingType()
        {
            BehandlingsType opretBehandlingsType = new BehandlingsType(Con());

            opretBehandlingsType.GetSetBehandlingsType = "ÅrligtTjek";
            opretBehandlingsType.GetSetPris            = 2000;
            opretBehandlingsType.Insert();
        }
Exemple #3
0
        static void UpdateBehandlingType()
        {
            BehandlingsType updateBehandlingsType = new BehandlingsType(Con());

            //updateBehandlingsType.GetSetPris = 5300;
            updateBehandlingsType.GetSetBehandlingsType = "'Amputering'";
            List <string> kolonner = new List <string> {
                "Behandlingtype"
            };

            updateBehandlingsType.Update(kolonner, "Syning");
        }