Beispiel #1
0
        public SummaryInformation(Database db, int count)
        {
            IntPtr handle;

            TR(MsiGetSummaryInformation(db.Handle, null, count, out handle));
            m_handle = new MSIHandle(handle);
        }
Beispiel #2
0
        public View(Database db, string sql)
        {
            IntPtr handle;

            TR(db, MsiDatabaseOpenView(db.Handle, sql, out handle));
            m_handle = new MSIHandle(handle);
        }
Beispiel #3
0
        public SummaryInformation(string path, int count)
        {
            IntPtr handle;

            TR(MsiGetSummaryInformation(IntPtr.Zero, path, count, out handle));
            m_handle = new MSIHandle(handle);
        }
Beispiel #4
0
        public Database(string filename, string persist)
        {
            IntPtr handle;

            TR(MsiOpenDatabase(filename, persist, out handle));
            m_handle = new MSIHandle(handle);
        }
Beispiel #5
0
        public Database(string filename, OpenMode mode)
        {
            IntPtr handle;

            TR(MsiOpenDatabase(filename, (IntPtr)mode, out handle));
            m_handle = new MSIHandle(handle);
        }
Beispiel #6
0
 public Record(int count)
 {
     m_handle = new MSIHandle(MsiCreateRecord(count));
 }
Beispiel #7
0
 public Record(IntPtr handle)
 {
     m_handle = new MSIHandle(handle);
 }
Beispiel #8
0
 public View(IntPtr handle)
 {
     m_handle = new MSIHandle(handle);
 }
Beispiel #9
0
 public UIPreview(IntPtr handle)
 {
     m_handle = new MSIHandle(handle);
 }
Beispiel #10
0
 public Session(IntPtr handle)
 {
     m_handle = new MSIHandle(handle);
 }
Beispiel #11
0
 public Database(IntPtr handle)
 {
     m_handle = new MSIHandle(handle);
 }