DebuggerDisplayAttribute wird auf jeden Fall ab heutigem Tage verwendet!! DebuggerBrowsable und DebuggerStepThrough finde ich jetzt nicht so interessant. F11 und F10 und vor allem Shift+F10 in Visual Studio helfen viel weiter. Siehe Artikel: Visual Studio Debugger Tips and Tricks: ASP Alliance
Infotext : Wie man Software schnell und GUT produziert MUST READ
How to produce a software product quickly von Jeffrey Palermo [C# MVP] Es gibt auch noch einen ersten Teil. How to produce a software product quickly - PART 1
Call a Oracle function in .net c# with the Enterprise Library Application Block
we got the following function: fnc_get_package_version in the package: PCK_MY_APPLICATION
here is the code to call that function from c# with the Enterprise Library Application Block.
string returnValue = ""; Database database = this.GetDatabase(); DbCommand dbCommand = database.GetStoredProcCommand("PCK_MY_APPLICATION.fnc_get_package_version"); OracleParameter returnParam = new OracleParameter("return", OracleType.VarChar); returnParam.Size = 10; returnParam.Direction = ParameterDirection.ReturnValue; dbCommand.Parameters.Add(returnParam); int affected = database.ExecuteNonQuery(dbCommand); Debug.WriteLine( "affected rows: " + affected + " returnParam.Value: " + returnParam.Value); returnValue = returnParam.Value.ToString(); dbCommand.Dispose(); return returnValue;
Labels: oracle
Regulazy - Endlich Reguläre Ausdrücke besser lernen??
Vielleicht klappts jo mit diesem Tool. Regulazy Regulazy - Point And Click Regular Expressions
Subscribe to:
Posts (Atom)
Latest Posts
Popular Posts
-
I am *very* keen on automating tests, so I was looking into unit testing a WCF service. If I say "unit test", I mean a fast ,...
-
It's easy I thought, just select the Property of the EntityType and set the Default Value in the Properties window to: DateTime.Now ...
-
*Updated* 26. September 2010: Updated with comments from Adam Cogan *Updated* 27. September 2010: Updated the comparison between anonymo...