Show / Hide Table of Contents

    IDwTable.Procedure Property

    .NET Standard 2.x

    Gets or sets a string that contains the number of the result set returned by the stored procedure to populate the DataWindow object. Use this property only if your DBMS supports stored procedures.

    You can use this property to change the stored procedure or to change the data source from a SELECT statement or script to a stored procedure.

    Namespace: DWNet.Data

    Assembly: DWNet.Data.dll

    Syntax

       string Procedure { get; set; }
    

    Property Value

    System.String

    A string that contains the number of the result set returned by the stored procedure to populate the DataWindow object.

    Examples

    The following code example demonstrates how to get the DataWindow.Table.Procedure property.

    using DWNet.Data;
    using System;
    
    namespace Appeon.ApiDoc.IDwTableExamples
    {
        public class ProcedureExample
        {
            private readonly SchoolContext _context;
    
            public ProcedureExample(SchoolContext context)
            {
                _context = context;
            }
    
            public void Example()
            {
                // Creates a new DataStore object.
                var course = new DataStore("d_course", _context);
    
                // Gets the DataWindow.Table.Procedure
                string procedure = course.DwMeta.DataWindow.Table.Procedure;
            }
        }
    }
    

    Applies to

    .NET Standard

    2.x

    Back to top Generated by Appeon