{"action":"created","issue":{"url":"https://api.github.com/repos/jonwagner/Insight.Database/issues/225","labels_url":"https://api.github.com/repos/jonwagner/Insight.Database/issues/225/labels{/name}","comments_url":"https://api.github.com/repos/jonwagner/Insight.Database/issues/225/comments","events_url":"https://api.github.com/repos/jonwagner/Insight.Database/issues/225/events","html_url":"https://github.com/jonwagner/Insight.Database/issues/225","id":105028121,"number":225,"title":"Can't  find  DbConnectionStringBuilderExtensions.cs","user":{"login":"cy598","id":6813580,"avatar_url":"https://avatars.githubusercontent.com/u/6813580?v=3","gravatar_id":"","url":"https://api.github.com/users/cy598","html_url":"https://github.com/cy598","followers_url":"https://api.github.com/users/cy598/followers","following_url":"https://api.github.com/users/cy598/following{/other_user}","gists_url":"https://api.github.com/users/cy598/gists{/gist_id}","starred_url":"https://api.github.com/users/cy598/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cy598/subscriptions","organizations_url":"https://api.github.com/users/cy598/orgs","repos_url":"https://api.github.com/users/cy598/repos","events_url":"https://api.github.com/users/cy598/events{/privacy}","received_events_url":"https://api.github.com/users/cy598/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-09-05T13:54:23Z","updated_at":"2015-09-06T17:18:16Z","closed_at":null,"body":"Hi all...\r\nWhen I used the follow codes in controller:\r\n<pre> \r\nvar country = new MySQL_MVC_Template1.Models.countries();\r\ncountry.name_countries = formCollection[\"name_countries\"];\r\ncountry.continent_countries = formCollection[\"continent_countries\"];\r\n\r\nmydb.Connection().ExecuteSql(\"INSERT INTO countries SELECT * FROM @Country\", new { Country = country });</pre>\r\n\r\nand follow codes in model\r\n<pre> \r\npublic partial class countries\r\n{\r\n   public long id_countries { get; set; }\r\n   public string name_countries { get; set; }\r\n   public string continent_countries { get; set; }\r\n}\r\n</pre>\r\nThe system showed me: \"Can't  find  DbConnectionStringBuilderExtensions.cs\"\r\nSeems the package does no include such a file. I'm using VS2013 .net 4.5 and mysql 5.5.35\r\n"},"comment":{"url":"https://api.github.com/repos/jonwagner/Insight.Database/issues/comments/138101304","html_url":"https://github.com/jonwagner/Insight.Database/issues/225#issuecomment-138101304","issue_url":"https://api.github.com/repos/jonwagner/Insight.Database/issues/225","id":138101304,"user":{"login":"cy598","id":6813580,"avatar_url":"https://avatars.githubusercontent.com/u/6813580?v=3","gravatar_id":"","url":"https://api.github.com/users/cy598","html_url":"https://github.com/cy598","followers_url":"https://api.github.com/users/cy598/followers","following_url":"https://api.github.com/users/cy598/following{/other_user}","gists_url":"https://api.github.com/users/cy598/gists{/gist_id}","starred_url":"https://api.github.com/users/cy598/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cy598/subscriptions","organizations_url":"https://api.github.com/users/cy598/orgs","repos_url":"https://api.github.com/users/cy598/repos","events_url":"https://api.github.com/users/cy598/events{/privacy}","received_events_url":"https://api.github.com/users/cy598/received_events","type":"User","site_admin":false},"created_at":"2015-09-06T17:18:16Z","updated_at":"2015-09-06T17:18:16Z","body":"   in Insight.Database.Providers.InsightDbProvider.SetupTableValuedParameter(IDbCommand command, IDataParameter parameter, IEnumerable list, Type listType)  c:\\projects.net\\Insight\\Insight.Database\\Insight.Database\\Providers\\InsightDbProvider.cs:line 288\r\n   in  Insight.Database.CodeGenerator.DbParameterGenerator.ListParameterHelper.ConvertListParameterByClass(IDataParameter parameter, IEnumerable list, IDbCommand command, Type listType) in c:\\projects.net\\Insight\\Insight.Database\\Insight.Database\\CodeGenerator\\DbParameterGenerator.cs:line 729\r\n   in Insight.Database.CodeGenerator.DbParameterGenerator.ListParameterHelper.ConvertListParameter(IDataParameter parameter, Object value, IDbCommand command) position c:\\projects.net\\Insight\\Insight.Database\\Insight.Database\\CodeGenerator\\DbParameterGenerator.cs:line 654\r\n   in CreateInputParameters-15fdbbea-abcd-4819-b5ca-7dc6fb2d8f9f(IDbCommand , Object )\r\n   in Insight.Database.DBCommandExtensions.AddParameters(IDbCommand cmd, Object parameters) position c:\\projects.net\\Insight\\Insight.Database\\Insight.Database\\Extensions\\DBCommandExtensions.cs:line 33\r\n   in Insight.Database.DBConnectionExtensions.CreateCommand(IDbConnection connection, String sql, Object parameters, CommandType commandType, Nullable`1 commandTimeout, IDbTransaction transaction) position. c:\\projects.net\\Insight\\Insight.Database\\Insight.Database\\Extensions\\DBConnectionExtensions.cs:line 276\r\n   在 Insight.Database.DBConnectionExtensions.<>c__DisplayClass61.<Execute>b__5f(IDbCommand _, IDataReader __) position c:\\projects.net\\Insight\\Insight.Database\\Insight.Database\\Extensions\\DBConnectionExtensions.cs:line 328\r\n   in Insight.Database.DBConnectionExtensions.ExecuteAndAutoClose[T](IDbConnection connection, Func`2 getCommand, Func`3 translate, CommandBehavior commandBehavior) positon c:\\projects.net\\Insight\\Insight.Database\\Insight.Database\\Extensions\\DBConnectionExtensions.cs:line 1461\r\n   在 Insight.Database.DBConnectionExtensions.ExecuteAndAutoClose[T](IDbConnection connection, Func`2 getCommand, Func`3 translate, Boolean closeConnection) positon c:\\projects.net\\Insight\\Insight.Database\\Insight.Database\\Extensions\\DBConnectionExtensions.cs:line 1429\r\n   在 Insight.Database.DBConnectionExtensions.Execute(IDbConnection connection, String sql, Object parameters, CommandType commandType, Boolean closeConnection, Nullable`1 commandTimeout, IDbTransaction transaction, Object outputParameters) positon c:\\projects.net\\Insight\\Insight.Database\\Insight.Database\\Extensions\\DBConnectionExtensions.cs:line 324\r\n   in Insight.Database.DBConnectionExtensions.ExecuteSql(IDbConnection connection, String sql, Object parameters, Boolean closeConnection, Nullable`1 commandTimeout, IDbTransaction transaction, Object outputParameters) positon  c:\\projects.net\\Insight\\Insight.Database\\Insight.Database\\Extensions\\DBConnectionExtensions.cs:line 358\r\n   在 MySQL_MVC_Template1.Controllers.CountryController.AddCountry(FormCollection formCollection) positon c:\\Users\\Frank\\Documents\\Visual Studio 2013\\Projects\\MySQL MVC Template1\\MySQL MVC Template1\\Controllers\\CountryController.cs:line 87\r\n   in lambda_method(Closure , ControllerBase , Object[] )\r\n   in System.Web.Mvc.ActionMethodDispatcher.Execute(ControllerBase controller, Object[] parameters)\r\n   in System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters)\r\n   in System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters)\r\n   in System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass42.<BeginInvokeSynchronousActionMethod>b__41()\r\n   in System.Web.Mvc.Async.AsyncResultWrapper.<>c__DisplayClass8`1.<BeginSynchronous>b__7(IAsyncResult _)\r\n   in  System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult`1.End()\r\n   in System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethod(IAsyncResult asyncResult)\r\n   in System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass37.<>c__DisplayClass39.<BeginInvokeActionMethodWithFilters>b__33()\r\n   in System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass4f.<InvokeActionMethodFilterAsynchronously>b__49()"}}