public tblEmploymentDuration(long _id)
        {
            // Assign default persister to instance persister
            _Persister = _DefaultPersister;

            // Assign method parameter to private fields
            this._id = _id;

            // Call associated retrieve method
            Retrieve();
        }
        public tblEmploymentDuration(DataRow row)
        {
            // Assign default persister to instance persister
            _Persister = _DefaultPersister;

            // Assign column values to private members
            for (int i = 0; i < row.Table.Columns.Count; i++)
            {
                switch (row.Table.Columns[i].ColumnName.ToUpper())
                {
                case "ID":
                    this.id = Convert.ToInt64(row[i, DataRowVersion.Current]);
                    break;

                case "DESCR":
                    this.descr = (string)row[i, DataRowVersion.Current];
                    break;
                }
            }
        }
 public tblEmploymentDuration()
 {
     // Assign default persister to instance persister
     _Persister = _DefaultPersister;
 }
 static tblEmploymentDuration()
 {
     // Assign default persister
     _DefaultPersister = new SqlServertblEmploymentDurationPersister();
 }