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

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

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

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

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

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