troubles with generated constructor in linq2sql

Posted by zerkms on Stack Overflow See other posts from Stack Overflow or by zerkms
Published on 2010-04-14T01:18:44Z Indexed on 2010/04/14 1:23 UTC
Read the original article Hit count: 354

Filed under:

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?

© Stack Overflow or respective owner

Related posts about linq2sql