C# Класс Dnn.Modules.Vendors.Data.DataService

Persistent data of content with DataProvider instance.
Наследование: IDataService
Показать файл Открыть проект

Открытые методы

Метод Описание
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

Описание методов

AddAffiliate() публичный Метод

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
Результат int

AddBanner() публичный Метод

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
Результат int

AddVendor() публичный Метод

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
Результат int

AddVendorClassification() публичный Метод

public AddVendorClassification ( int VendorId, int ClassificationId ) : int
VendorId int
ClassificationId int
Результат int

DeleteAffiliate() публичный Метод

public DeleteAffiliate ( int affiliateId ) : void
affiliateId int
Результат void

DeleteBanner() публичный Метод

public DeleteBanner ( int BannerId ) : void
BannerId int
Результат void

DeleteVendor() публичный Метод

public DeleteVendor ( int VendorId ) : void
VendorId int
Результат void

DeleteVendorClassifications() публичный Метод

public DeleteVendorClassifications ( int VendorId ) : void
VendorId int
Результат void

FindBanners() публичный Метод

public FindBanners ( int PortalId, int BannerTypeId, string GroupName ) : IDataReader
PortalId int
BannerTypeId int
GroupName string
Результат IDataReader

GetAffiliate() публичный Метод

public GetAffiliate ( int affiliateId ) : IDataReader
affiliateId int
Результат IDataReader

GetAffiliates() публичный Метод

public GetAffiliates ( int vendorId ) : IDataReader
vendorId int
Результат IDataReader

GetBanner() публичный Метод

public GetBanner ( int BannerId ) : IDataReader
BannerId int
Результат IDataReader

GetBannerGroups() публичный Метод

public GetBannerGroups ( int PortalId ) : DataTable
PortalId int
Результат System.Data.DataTable

GetBanners() публичный Метод

public GetBanners ( int VendorId ) : IDataReader
VendorId int
Результат IDataReader

GetVendor() публичный Метод

public GetVendor ( int VendorId, int PortalId ) : IDataReader
VendorId int
PortalId int
Результат IDataReader

GetVendorClassifications() публичный Метод

public GetVendorClassifications ( int VendorId ) : IDataReader
VendorId int
Результат IDataReader

GetVendors() публичный Метод

public GetVendors ( int PortalId, bool UnAuthorized, int PageIndex, int PageSize ) : IDataReader
PortalId int
UnAuthorized bool
PageIndex int
PageSize int
Результат IDataReader

GetVendorsByEmail() публичный Метод

public GetVendorsByEmail ( string Filter, int PortalId, int PageIndex, int PageSize ) : IDataReader
Filter string
PortalId int
PageIndex int
PageSize int
Результат IDataReader

GetVendorsByName() публичный Метод

public GetVendorsByName ( string Filter, int PortalId, int PageIndex, int PageSize ) : IDataReader
Filter string
PortalId int
PageIndex int
PageSize int
Результат IDataReader

UpdateAffiliate() публичный Метод

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
Результат void

UpdateAffiliateStats() публичный Метод

public UpdateAffiliateStats ( int affiliateId, int clicks, int acquisitions ) : void
affiliateId int
clicks int
acquisitions int
Результат void

UpdateBanner() публичный Метод

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
Результат void

UpdateBannerClickThrough() публичный Метод

public UpdateBannerClickThrough ( int BannerId, int VendorId ) : void
BannerId int
VendorId int
Результат void

UpdateBannerViews() публичный Метод

public UpdateBannerViews ( int BannerId, System.DateTime StartDate, System.DateTime EndDate ) : void
BannerId int
StartDate System.DateTime
EndDate System.DateTime
Результат void

UpdateVendor() публичный Метод

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
Результат void