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

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

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

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

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

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