Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

在这里有一个BUG #31

Closed
JHeLiu opened this issue Oct 19, 2017 · 2 comments
Closed

在这里有一个BUG #31

JHeLiu opened this issue Oct 19, 2017 · 2 comments

Comments

@JHeLiu
Copy link
Contributor

JHeLiu commented Oct 19, 2017

 var sql = @"
                        INSERT INTO dbo.AdminUser
                        (
 
                            NickName,
                            Password
                        )
                        VALUES
                        (   
                            @NickName,
                            @Password
                        )";


            var parms = new AdminUser() { NickName = "名称", Password = "238904823904" };
            db.DbContext.Ado.ExecuteCommand(sql, parms);

会报

未经处理的异常: SqlSugar.UtilExceptions: The parameter format is wrong.
Use new{xx=xx, xx2=xx2} or
Dictionary<string, object> or
SugarParameter []

版本4X

@DotNetNext
Copy link
Owner

你能把错误信息认真看一下吗,是你错了还是BUG?

@JHeLiu
Copy link
Contributor Author

JHeLiu commented Oct 19, 2017

那是这种不支持呀?那么能支持吗?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants