public override void AwakeFromNib()
        {
            base.AwakeFromNib();

            // Get database connection
            Conn = GetDatabaseConnection();

            // Create the Occupation Table Data Source and populate it
            var DataSource = new TableORMDatasource(Conn);

            // Populate the Product Table
            OccupationTable.DataSource = DataSource;
            OccupationTable.Delegate   = new TableORMDelegate(DataSource);
        }
		public TableORMDelegate (TableORMDatasource dataSource)
		{
			// Initialize
			this.DataSource = dataSource;
		}
		public override void AwakeFromNib ()
		{
			base.AwakeFromNib ();

			// Get database connection
			Conn = GetDatabaseConnection ();

			// Create the Occupation Table Data Source and populate it
			var DataSource = new TableORMDatasource (Conn);

			// Populate the Product Table
			OccupationTable.DataSource = DataSource;
			OccupationTable.Delegate = new TableORMDelegate (DataSource);
		}
Exemple #4
0
 public TableORMDelegate(TableORMDatasource dataSource)
 {
     // Initialize
     this.DataSource = dataSource;
 }