예제 #1
0
 /// <summary>
 /// The constructor of the <see cref="DataHelper"/>.
 /// </summary>
 /// <param name="config">The config of the <see cref="DataHelper"/></param>
 public DataHelper(DataHelperConfig config)
 {
     this.config = config;
 }
예제 #2
0
        /// <summary>
        /// Returns a config by the entered parameters.
        /// </summary>
        /// <param name="connectionString">The string which the <see cref="DataHelper"/> needs to connect to the SQL Server.</param>
        /// <returns>A new <see cref="DataHelperConfig"/></returns>
        public static DataHelperConfig Create(string connectionString)
        {
            var dhc = new DataHelperConfig(connectionString);

            return(dhc);
        }