C# Class Dnn.Modules.Vendors.Data.DataService

Persistent data of content with DataProvider instance.
Inheritance: IDataService
Afficher le fichier Open project: DNNCommunity/DNN.Vendors

Méthodes publiques

Méthode Description
AddAffiliate ( int vendorId, System.DateTime startDate, System.DateTime endDate, double CPC, double CPA ) : int
AddBanner ( string BannerName, int VendorId, string ImageFile, string URL, int Impressions, double CPM, System.DateTime StartDate, System.DateTime EndDate, string UserName, int BannerTypeId, string Description, string GroupName, int Criteria, int Width, int Height ) : int
AddVendor ( int PortalId, string VendorName, string Unit, string Street, string City, string Region, string Country, string PostalCode, string Telephone, string Fax, string Cell, string Email, string Website, string FirstName, string LastName, string UserName, string LogoFile, string KeyWords, string Authorized ) : int
AddVendorClassification ( int VendorId, int ClassificationId ) : int
DeleteAffiliate ( int affiliateId ) : void
DeleteBanner ( int BannerId ) : void
DeleteVendor ( int VendorId ) : void
DeleteVendorClassifications ( int VendorId ) : void
FindBanners ( int PortalId, int BannerTypeId, string GroupName ) : IDataReader
GetAffiliate ( int affiliateId ) : IDataReader
GetAffiliates ( int vendorId ) : IDataReader
GetBanner ( int BannerId ) : IDataReader
GetBannerGroups ( int PortalId ) : DataTable
GetBanners ( int VendorId ) : IDataReader
GetVendor ( int VendorId, int PortalId ) : IDataReader
GetVendorClassifications ( int VendorId ) : IDataReader
GetVendors ( int PortalId, bool UnAuthorized, int PageIndex, int PageSize ) : IDataReader
GetVendorsByEmail ( string Filter, int PortalId, int PageIndex, int PageSize ) : IDataReader
GetVendorsByName ( string Filter, int PortalId, int PageIndex, int PageSize ) : IDataReader
UpdateAffiliate ( int affiliateId, System.DateTime startDate, System.DateTime endDate, double CPC, double CPA ) : void
UpdateAffiliateStats ( int affiliateId, int clicks, int acquisitions ) : void
UpdateBanner ( int BannerId, string BannerName, string ImageFile, string URL, int Impressions, double CPM, System.DateTime StartDate, System.DateTime EndDate, string UserName, int BannerTypeId, string Description, string GroupName, int Criteria, int Width, int Height ) : void
UpdateBannerClickThrough ( int BannerId, int VendorId ) : void
UpdateBannerViews ( int BannerId, System.DateTime StartDate, System.DateTime EndDate ) : void
UpdateVendor ( int VendorId, string VendorName, string Unit, string Street, string City, string Region, string Country, string PostalCode, string Telephone, string Fax, string Cell, string Email, string Website, string FirstName, string LastName, string UserName, string LogoFile, string KeyWords, string Authorized ) : void

Method Details

AddAffiliate() public méthode

public AddAffiliate ( int vendorId, System.DateTime startDate, System.DateTime endDate, double CPC, double CPA ) : int
vendorId int
startDate System.DateTime
endDate System.DateTime
CPC double
CPA double
Résultat int

AddBanner() public méthode

public AddBanner ( string BannerName, int VendorId, string ImageFile, string URL, int Impressions, double CPM, System.DateTime StartDate, System.DateTime EndDate, string UserName, int BannerTypeId, string Description, string GroupName, int Criteria, int Width, int Height ) : int
BannerName string
VendorId int
ImageFile string
URL string
Impressions int
CPM double
StartDate System.DateTime
EndDate System.DateTime
UserName string
BannerTypeId int
Description string
GroupName string
Criteria int
Width int
Height int
Résultat int

AddVendor() public méthode

public AddVendor ( int PortalId, string VendorName, string Unit, string Street, string City, string Region, string Country, string PostalCode, string Telephone, string Fax, string Cell, string Email, string Website, string FirstName, string LastName, string UserName, string LogoFile, string KeyWords, string Authorized ) : int
PortalId int
VendorName string
Unit string
Street string
City string
Region string
Country string
PostalCode string
Telephone string
Fax string
Cell string
Email string
Website string
FirstName string
LastName string
UserName string
LogoFile string
KeyWords string
Authorized string
Résultat int

AddVendorClassification() public méthode

public AddVendorClassification ( int VendorId, int ClassificationId ) : int
VendorId int
ClassificationId int
Résultat int

DeleteAffiliate() public méthode

public DeleteAffiliate ( int affiliateId ) : void
affiliateId int
Résultat void

DeleteBanner() public méthode

public DeleteBanner ( int BannerId ) : void
BannerId int
Résultat void

DeleteVendor() public méthode

public DeleteVendor ( int VendorId ) : void
VendorId int
Résultat void

DeleteVendorClassifications() public méthode

public DeleteVendorClassifications ( int VendorId ) : void
VendorId int
Résultat void

FindBanners() public méthode

public FindBanners ( int PortalId, int BannerTypeId, string GroupName ) : IDataReader
PortalId int
BannerTypeId int
GroupName string
Résultat IDataReader

GetAffiliate() public méthode

public GetAffiliate ( int affiliateId ) : IDataReader
affiliateId int
Résultat IDataReader

GetAffiliates() public méthode

public GetAffiliates ( int vendorId ) : IDataReader
vendorId int
Résultat IDataReader

GetBanner() public méthode

public GetBanner ( int BannerId ) : IDataReader
BannerId int
Résultat IDataReader

GetBannerGroups() public méthode

public GetBannerGroups ( int PortalId ) : DataTable
PortalId int
Résultat System.Data.DataTable

GetBanners() public méthode

public GetBanners ( int VendorId ) : IDataReader
VendorId int
Résultat IDataReader

GetVendor() public méthode

public GetVendor ( int VendorId, int PortalId ) : IDataReader
VendorId int
PortalId int
Résultat IDataReader

GetVendorClassifications() public méthode

public GetVendorClassifications ( int VendorId ) : IDataReader
VendorId int
Résultat IDataReader

GetVendors() public méthode

public GetVendors ( int PortalId, bool UnAuthorized, int PageIndex, int PageSize ) : IDataReader
PortalId int
UnAuthorized bool
PageIndex int
PageSize int
Résultat IDataReader

GetVendorsByEmail() public méthode

public GetVendorsByEmail ( string Filter, int PortalId, int PageIndex, int PageSize ) : IDataReader
Filter string
PortalId int
PageIndex int
PageSize int
Résultat IDataReader

GetVendorsByName() public méthode

public GetVendorsByName ( string Filter, int PortalId, int PageIndex, int PageSize ) : IDataReader
Filter string
PortalId int
PageIndex int
PageSize int
Résultat IDataReader

UpdateAffiliate() public méthode

public UpdateAffiliate ( int affiliateId, System.DateTime startDate, System.DateTime endDate, double CPC, double CPA ) : void
affiliateId int
startDate System.DateTime
endDate System.DateTime
CPC double
CPA double
Résultat void

UpdateAffiliateStats() public méthode

public UpdateAffiliateStats ( int affiliateId, int clicks, int acquisitions ) : void
affiliateId int
clicks int
acquisitions int
Résultat void

UpdateBanner() public méthode

public UpdateBanner ( int BannerId, string BannerName, string ImageFile, string URL, int Impressions, double CPM, System.DateTime StartDate, System.DateTime EndDate, string UserName, int BannerTypeId, string Description, string GroupName, int Criteria, int Width, int Height ) : void
BannerId int
BannerName string
ImageFile string
URL string
Impressions int
CPM double
StartDate System.DateTime
EndDate System.DateTime
UserName string
BannerTypeId int
Description string
GroupName string
Criteria int
Width int
Height int
Résultat void

UpdateBannerClickThrough() public méthode

public UpdateBannerClickThrough ( int BannerId, int VendorId ) : void
BannerId int
VendorId int
Résultat void

UpdateBannerViews() public méthode

public UpdateBannerViews ( int BannerId, System.DateTime StartDate, System.DateTime EndDate ) : void
BannerId int
StartDate System.DateTime
EndDate System.DateTime
Résultat void

UpdateVendor() public méthode

public UpdateVendor ( int VendorId, string VendorName, string Unit, string Street, string City, string Region, string Country, string PostalCode, string Telephone, string Fax, string Cell, string Email, string Website, string FirstName, string LastName, string UserName, string LogoFile, string KeyWords, string Authorized ) : void
VendorId int
VendorName string
Unit string
Street string
City string
Region string
Country string
PostalCode string
Telephone string
Fax string
Cell string
Email string
Website string
FirstName string
LastName string
UserName string
LogoFile string
KeyWords string
Authorized string
Résultat void