EntityDataSourceSelectingEventArgs.cs source code in C# .NET

Source code for the .NET framework in C#

                        

Code:

/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / ndp / fx / src / DataWebControls / System / Data / WebControls / EntityDataSourceSelectingEventArgs.cs / 1 / EntityDataSourceSelectingEventArgs.cs

                            //---------------------------------------------------------------------- 
// 
//      Copyright (c) Microsoft Corporation.  All rights reserved.
// 
// 
// @owner       [....]
// @backupOwner objsdev 
//--------------------------------------------------------------------- 
using System;
using System.Collections.Generic; 
using System.Linq;
using System.Text;
using System.Web.UI;
using System.Web.UI.WebControls; 
using System.Data.Objects;
using System.ComponentModel; 
using System.Data.Metadata.Edm; 

namespace System.Web.UI.WebControls 
{
    public class EntityDataSourceSelectingEventArgs : System.ComponentModel.CancelEventArgs
    {
        private readonly EntityDataSource _dataSource; 
        private readonly DataSourceSelectArguments _selectArguments;
 
        internal EntityDataSourceSelectingEventArgs(EntityDataSource dataSource, DataSourceSelectArguments selectArgs) 
        {
            _dataSource = dataSource; 
            _selectArguments = selectArgs;
        }

        public EntityDataSource DataSource 
        {
            get { return _dataSource; } 
        } 

        public DataSourceSelectArguments SelectArguments 
        {
            get { return _selectArguments; }
        }
 
     }
} 

// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
//---------------------------------------------------------------------- 
// 
//      Copyright (c) Microsoft Corporation.  All rights reserved.
// 
// 
// @owner       [....]
// @backupOwner objsdev 
//--------------------------------------------------------------------- 
using System;
using System.Collections.Generic; 
using System.Linq;
using System.Text;
using System.Web.UI;
using System.Web.UI.WebControls; 
using System.Data.Objects;
using System.ComponentModel; 
using System.Data.Metadata.Edm; 

namespace System.Web.UI.WebControls 
{
    public class EntityDataSourceSelectingEventArgs : System.ComponentModel.CancelEventArgs
    {
        private readonly EntityDataSource _dataSource; 
        private readonly DataSourceSelectArguments _selectArguments;
 
        internal EntityDataSourceSelectingEventArgs(EntityDataSource dataSource, DataSourceSelectArguments selectArgs) 
        {
            _dataSource = dataSource; 
            _selectArguments = selectArgs;
        }

        public EntityDataSource DataSource 
        {
            get { return _dataSource; } 
        } 

        public DataSourceSelectArguments SelectArguments 
        {
            get { return _selectArguments; }
        }
 
     }
} 

// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
                        

Link Menu

Network programming in C#, Network Programming in VB.NET, Network Programming in .NET
This book is available now!
Buy at Amazon US or
Buy at Amazon UK