To write some dummy stored-procedures I was wondering if I could just write them in C# since I don't know T-SQL very well.
Are C# and T-SQL versions of the same procedure indistinguishable to calling code e.g. C++/C#/Java code using standard database library classes?
Yes, the caller won't know the difference. However, there are a few API differences:
NVARCHAR(MAX),VARBINARY(MAX), andXML) cannot have default values in SQLCLR objects. (Microsoft Connect suggestion to vote for, perhaps: Support default parameter values for NVARCHAR(MAX), VARBINARY(MAX), and XML types in SQLCLR objects )SMALLDATETIMESMALLMONEYCHARVARCHARTEXTNTEXTIMAGEOutside of that technical answer to the Question, there are some things to consider:
What exactly is being considered "dummy"? Are you just needing a signature? If so, it would be far easier to do that in plain T-SQL. All it takes for T-SQL to do a mock stored procedure is:
The term "dummy" implies that these will be replaced with something else later. What will they be replaced with? T-SQL Stored Procedures? Who will write those if you don't know T-SQL?