Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- string someText = (dbInfo.IsIdentity) ? "First Option" : "Second Option";
- script.Append("sometext" + (dbInfo.IsIdentity) ? " IDENTITY(1,1)" : "");
- script.Append("sometext" + ((dbInfo.IsIdentity) ? " IDENTITY(1,1)" : ""));
- script.Append( "sometext" );
- script.Append( dbInfo.IsIdentity ? " IDENTITY(1,1)" : "" );
- script.AppendFormat("sometext{0}", dbInfo.IsIdentity ? " IDENTITY(1,1)" : "");
- script.Append("sometext");
- script.Append(dbInfo.IsIdentity ? " IDENTITY(1,1)" : "");
- script.Append("sometext");
- if(dbInfo.IsIdentity) script.Append(" IDENTITY(1,1)");
- script.Append("sometext" + ((dbInfo.IsIdentity) ? " IDENTITY(1,1)" : ""));
Add Comment
Please, Sign In to add comment