Exemplo n.º 1
0
		/// <summary>
		/// Create a new UInt32APRptColumn.
		/// </summary>
		/// <param name="columnDef">Column define.</param>
		/// <param name="id">Column unique ID.</param>
		/// <param name="title">Title.</param>
		/// <param name="minValue">The min value.</param>
		/// <param name="maxValue">The max value.</param>
		public UInt32APRptColumn(UInt32APColumnDef columnDef, string id, string title, UInt32 minValue = UInt32.MinValue, UInt32 maxValue = UInt32.MaxValue)
			: base(columnDef, id, title)
		{
			_minValue = minValue;
			_maxValue = maxValue;
		}
Exemplo n.º 2
0
 /// <summary>
 /// Get value from a data reader.
 /// </summary>
 /// <param name="columnDef">UInt32APColumnDef</param>
 /// <param name="reader">Data reader.</param>
 /// <param name="columnName">Name of column.</param>
 /// <returns>Value</returns>
 public static UInt32 GetValue(this UInt32APColumnDef columnDef, IDataReader reader, string columnName)
 {
     return(GetValue <UInt32>(columnDef, reader, columnName, throwIfValidColumnName: true, defaultValue: default(UInt32)));
 }
Exemplo n.º 3
0
		/// <summary>
		/// Create a new UInt32APRptColumn.
		/// </summary>
		/// <param name="columnDef">Column define.</param>
		/// <param name="minValue">The min value.</param>
		/// <param name="maxValue">The max value.</param>
		public UInt32APRptColumn(UInt32APColumnDef columnDef, UInt32 minValue = UInt32.MinValue, UInt32 maxValue = UInt32.MaxValue)
			: base(columnDef)
		{
			_minValue = minValue;
			_maxValue = maxValue;
		}