Example.AdventureWorks2008ObjectContext_Dal.DbCtx.AdventureWorksLT2008R2Entities.QueryCustomerByID C# (CSharp) 메소드

QueryCustomerByID() 공개 메소드

public QueryCustomerByID ( int customerID ) : IQueryable
customerID int
리턴 IQueryable
        public IQueryable<Customer> QueryCustomerByID(int customerID)
        {
            this.LogInformationData("customerID", customerID);

            IQueryable<Customer> q = from cust in this.Customers
                where cust.CustomerID == customerID
                select cust;

            return q;
        }