asp.net - Prevent nullable parameter in stored procedure with LINQ -


I want to define stored procedure parameters that do not allow zero arguments.

She will not be useless because it will not be useless because when I import the stored procedure from LINQ to an SQL designer, it says that @MailIetmid Is ref int? MailItemId .

Thanks.

If nothing else, you were auto-generated not to accept blank integers only Modify the code (in designer.cs) If the parameter never ends, then this would probably be a strange exception in SQL code from LINQ, but this is not a great deal.


Comments

Popular posts from this blog

c# - ListView onScroll event -

PHP - get image from byte array -

Linux Terminal Problem with Non-Canonical Terminal I/O app -