C# Class VideoRentalService.DataFacade

Exibir arquivo Open project: Ecetera/appdynamics-sandpit Class Usage Examples

Public Methods

Method Description
GetCustomer ( int id ) : SCustomer
GetCustomers ( ) : VideoRentalService.SCustomer[]
GetCustomersByText ( string searchtext ) : VideoRentalService.SCustomer[]
GetPayment ( int id ) : SPayment
GetPayments ( int customerid ) : VideoRentalService.SPayment[]
GetPaymentsByRental ( int rentalid ) : VideoRentalService.SPayment[]
GetPaymentsByRentalCnt ( int rentalid ) : int
GetRentalByPayment ( int id ) : SRental
GetRentals ( int customerid ) : VideoRentalService.SRental[]
GetRewardsReport ( Nullable min_monthly_purchases, Nullable min_dollar_amount_purchased, int count_rewardees ) : VideoRentalService.SCustomer[]
GetSalesByFilmCategory ( string category ) : VideoRentalService.CategorySale[]
PayForMovie ( byte staffid, byte customerid, byte rentalid, double paymentAmount ) : bool
RefundPayment ( int paymentid ) : bool

Method Details

GetCustomer() public abstract method

public abstract GetCustomer ( int id ) : SCustomer
id int
return SCustomer

GetCustomers() public abstract method

public abstract GetCustomers ( ) : VideoRentalService.SCustomer[]
return VideoRentalService.SCustomer[]

GetCustomersByText() public abstract method

public abstract GetCustomersByText ( string searchtext ) : VideoRentalService.SCustomer[]
searchtext string
return VideoRentalService.SCustomer[]

GetPayment() public abstract method

public abstract GetPayment ( int id ) : SPayment
id int
return SPayment

GetPayments() public abstract method

public abstract GetPayments ( int customerid ) : VideoRentalService.SPayment[]
customerid int
return VideoRentalService.SPayment[]

GetPaymentsByRental() public abstract method

public abstract GetPaymentsByRental ( int rentalid ) : VideoRentalService.SPayment[]
rentalid int
return VideoRentalService.SPayment[]

GetPaymentsByRentalCnt() public abstract method

public abstract GetPaymentsByRentalCnt ( int rentalid ) : int
rentalid int
return int

GetRentalByPayment() public abstract method

public abstract GetRentalByPayment ( int id ) : SRental
id int
return SRental

GetRentals() public abstract method

public abstract GetRentals ( int customerid ) : VideoRentalService.SRental[]
customerid int
return VideoRentalService.SRental[]

GetRewardsReport() public abstract method

public abstract GetRewardsReport ( Nullable min_monthly_purchases, Nullable min_dollar_amount_purchased, int count_rewardees ) : VideoRentalService.SCustomer[]
min_monthly_purchases Nullable
min_dollar_amount_purchased Nullable
count_rewardees int
return VideoRentalService.SCustomer[]

GetSalesByFilmCategory() public abstract method

public abstract GetSalesByFilmCategory ( string category ) : VideoRentalService.CategorySale[]
category string
return VideoRentalService.CategorySale[]

PayForMovie() public abstract method

public abstract PayForMovie ( byte staffid, byte customerid, byte rentalid, double paymentAmount ) : bool
staffid byte
customerid byte
rentalid byte
paymentAmount double
return bool

RefundPayment() public abstract method

public abstract RefundPayment ( int paymentid ) : bool
paymentid int
return bool