Ejemplo n.º 1
0
        public SummaryInformation(Database db, int count)
        {
            IntPtr handle;

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

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

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

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

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