root/Baza Reklam 2 - Faktury/Classes/ConnString.cs @ 8

Wersja 2, 0.6 KB (wprowadzona przez dorota, 17 years temu)
Line 
1using System;
2using System.Collections.Generic;
3using System.Text;
4
5namespace Baza_Reklam
6{
7    class ConnString
8    {
9        private string value;
10
11        public string Value
12         {
13             get { return this.value; }
14             set { this.value = value; }
15         }
16
17        private static ConnString connectionString;
18
19        private ConnString() {
20        }
21
22        public static ConnString getConnString()
23        {
24            if (connectionString == null){
25                connectionString = new ConnString();
26            }
27            return connectionString;
28        }
29    }
30}
Notatka: Zobacz TracBrowser aby uzyskać więcej informacji.