コード例 #1
0
ファイル: LinkSQL.cs プロジェクト: stevenandrewcarter/Panic
 /// <summary>
 /// Creates a Site Repository which contains the sites
 /// </summary>
 /// <param name="aConnection"></param>
 public LinkSQL(SqlCeConnection aConnection)
 {
     connection = aConnection;
       context = new Linq.Panic(aConnection);
       data = new Dictionary<int, Link>();
 }
コード例 #2
0
 /// <summary>
 /// Creates a Site Repository which contains the sites
 /// </summary>
 /// <param name="aConnection"></param>
 public HardwareSQL(SqlCeConnection aConnection)
 {
     connection = aConnection;
       context = new Linq.Panic(aConnection);
       data = new Dictionary<int, Hardware>();
 }