Beispiel #1
0
        /// <summary>
        /// Creates a new instance of the Sol_Settings class and populates it with data from the specified SqlDataReader.
        /// </summary>
        protected virtual Sol_Setting MakeSol_Setting(SqlDataReader dataReader)
        {
            Sol_Setting sol_Setting = new Sol_Setting();

            sol_Setting.Name        = SqlClientUtility.GetString(dataReader, "Name", String.Empty);
            sol_Setting.Description = SqlClientUtility.GetString(dataReader, "Description", String.Empty);
            sol_Setting.SetValue    = SqlClientUtility.GetObject(dataReader, "SetValue", new object());

            return(sol_Setting);
        }