Microsoft Enterprise solution 4.0

Posted on 2008-11-14
Last Modified: 2012-05-05
This regarding a method in Enterprise Library Data layer, it is below. In this what is the 4th parameter? i.e int size ? What I have to pass into this ? If output parameter is string than what I have to pass? If output parameter is boolean then what I have to pass? If output parameter is integer then what I have to pass for as 4th parameter?

public void AddOutParameter (
    DbCommand command,
    string name,
    DbType dbType,
    int size)

I know first 3, but what I have to pass in 4th one, pl see below.

dbFSKL.AddOutParameter(cmdFSKL, "v_num", DbType.Int16, ??);
Question by:GouthamAnand
    1 Comment
    LVL 26

    Accepted Solution

    try to give the value like for int16 - 2 and for int32 - 4 and for a varchar 10 - 10
    it says size but what size is not mentioned, i tried msdn but no answers

    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Join & Write a Comment

    Having just graduated from college and entered the workforce, I don’t find myself always using the tools and programs I grew accustomed to over the past four years. However, there is one program I continually find myself reverting back to…R.   So …
    Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
    The goal of this video is to provide viewers with basic examples to understand and use conditional statements in the C programming language.
    The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

    745 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now