Skip to content

Commit

Permalink
updated int to bit in create new project dubeaud#110
Browse files Browse the repository at this point in the history
  • Loading branch information
dubeaud committed Jun 7, 2015
1 parent 8c87df0 commit e307a8d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
@AttachmentUploadPath nvarchar(80),
@ProjectAccessType int,
@ProjectCreatorUserName nvarchar(255),
@AllowAttachments int,
@AllowAttachments bit,
@SvnRepositoryUrl nvarchar(255),
@AllowIssueVoting bit,
@ProjectImageFileContent varbinary(max),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -936,7 +936,6 @@ public override int CreateNewProject(Project newProject)
{
AddParamToSqlCmd(sqlCmd, "@ReturnValue", SqlDbType.Int, 0, ParameterDirection.ReturnValue, null);
AddParamToSqlCmd(sqlCmd, "@AllowAttachments", SqlDbType.Bit, 0, ParameterDirection.Input, newProject.AllowAttachments);
//AddParamToSQLCmd(sqlCmd, "@Active", SqlDbType.Bit, 0, ParameterDirection.Input, newProject.Active);
AddParamToSqlCmd(sqlCmd, "@ProjectName", SqlDbType.NText, 256, ParameterDirection.Input, newProject.Name);
AddParamToSqlCmd(sqlCmd, "@ProjectDescription", SqlDbType.NText, 1000, ParameterDirection.Input, newProject.Description);
AddParamToSqlCmd(sqlCmd, "@ProjectManagerUserName", SqlDbType.NVarChar, 0, ParameterDirection.Input, newProject.ManagerUserName);
Expand Down

0 comments on commit e307a8d

Please sign in to comment.