troubles with generated constructor in linq2sql
- by zerkms
After adding one more table to linq2sql .dbml schema i got
Value cannot be null.
Parameter name: mapping
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.ArgumentNullException: Value cannot be null.
Parameter name: mapping
and it refers to autogenerated file:
Line 45: #endregion
Line 46:
Line 47: public db() :
Line 48: base(global::data.Properties.Settings.Default.nanocrmConnectionString, mappingSource)
Line 49: {
Any ideas why this hapenned and how to solve this?