WestWind.NorthwindDB.SalesbyYear C# (CSharp) Method

SalesbyYear() public method

public SalesbyYear ( System.DateTime Beginning_Date, System.DateTime Ending_Date ) : StoredProcedure
Beginning_Date System.DateTime
Ending_Date System.DateTime
return StoredProcedure
        public StoredProcedure SalesbyYear(DateTime Beginning_Date,DateTime Ending_Date){
            StoredProcedure sp=new StoredProcedure("Sales by Year",this.Provider);
            sp.Command.AddParameter("Beginning_Date",Beginning_Date,DbType.DateTime);
            sp.Command.AddParameter("Ending_Date",Ending_Date,DbType.DateTime);
            return sp;
        }
        public StoredProcedure SalesByCategory(string CategoryName,string OrdYear){