Method | Description | |
---|---|---|
AddAttribute ( int attributeDefinitionId, int locationId, string attributeValue ) : void | ||
AddAttributeDefinition ( int portalId, int locationTypeId, int dataType, string defaultValue, string attributeName, bool required, string validationExpression, int viewOrder, bool visible, int length ) : int | ||
ClearLocations ( int portalId ) : void | ||
ClearTempLocations ( ) : void | ||
CopyData ( ) : string | ||
DeleteAttributeDefinition ( int attributeDefinitionId ) : void | ||
DeleteComment ( int commentId ) : void | ||
DeleteLocation ( int locationId ) : void | ||
DeleteLocationType ( int locationTypeId ) : void | ||
GetAllLocations ( int portalId, bool approved, string sortColumn, int index, int pageSize ) : |
||
GetAllLocationsByDistance ( double latitude, double longitude, int radius, int portalId, int locationTypeIds, int pageIndex, int pageSize ) : IDataReader |
Gets a list of the locations in the given locationTypeIds, ordered by their distance from the given coordinates, within the given mile radius
|
|
GetAllLocationsByType ( int portalId, int locationTypeIds, int pageIndex, int pageSize ) : IDataReader |
Gets a list of the locations in the given locationTypeIds.
|
|
GetAttributeDefinition ( int attributeDefinitionId ) : IDataReader | ||
GetAttributeDefinitionByName ( int locationTypeId, string name ) : IDataReader | ||
GetAttributeDefinitions ( int locationTypeId ) : |
||
GetAttributeDefinitionsById ( int locationTypeId ) : IDataReader | ||
GetAttributeValues ( int locationId ) : |
||
GetComment ( int commentId ) : Comment | ||
GetComments ( int locationId, bool approved ) : |
||
GetCountriesList ( int portalId ) : |
||
GetEmailByFileId ( int fileId ) : |
||
GetEngageLocatorTabModules ( int portalId ) : |
||
GetFilesToImport ( ) : |
||
GetImportedLocationStatistics ( int portalId ) : |
||
GetLastImportIndex ( ) : int | ||
GetLatitudeLongitude ( string address, string city ) : |
||
GetLocation ( int locationId ) : IDataReader | ||
GetLocationType ( int id ) : |
||
GetLocationTypeCount ( string type ) : int | ||
GetLocationTypeName ( int id ) : |
||
GetLocationTypes ( ) : |
||
GetLocations ( int typeId, int portalId ) : |
||
GetLocationsByCountry ( int countryId, int portalId, int pageIndex, int pageSize ) : IDataReader |
Gets the locations in a given country.
|
|
GetNClosestLocations ( double latitude, double longitude, int count, int portalId ) : |
Gets the count closest locations.
|
|
GetNewSubmittedComments ( int portalId, bool approved ) : |
||
GetTabModuleIdByFileId ( int fileId ) : int | ||
InsertComment ( int locationId, string text, string submittedBy, bool approved ) : void | ||
InsertFileInfo ( int fileId, int userId, int tabModuleId, int portalId, System.DateTime uploadDate, bool succeeded, bool processed ) : void | ||
InsertLocationType ( string locationTypeName ) : int | ||
SaveComment ( Comment myComment ) : void | ||
SaveLocation ( Location loc ) : int | ||
SaveTempLocation ( Location loc, bool successful ) : int | ||
SqlDataProvider ( ) : System | ||
UpdateAttribute ( int locationAttributeId, int locationId, string attributeValue ) : void | ||
UpdateAttributeDefinition ( int attributeDefinitionId, int dataType, string defaultValue, string attributeName, bool required, string validationExpression, int viewOrder, bool visible, int length ) : int | ||
UpdateComment ( int locationId, string comment, string submittedBy, bool approved, int userId ) : void | ||
UpdateImportedLocationRow ( int fileId ) : void | ||
UpdateLocation ( Location loc ) : int | ||
UpdateLocationType ( int locationTypeId, string locationTypeName ) : void |
Method | Description | |
---|---|---|
ExecuteDataset ( string storedProcedureName ) : |
Executes a SQL stored procedure, returning the results as a DataSet.
|
|
ExecuteNonQuery ( string storedProcedureName ) : int |
Executes a SQL stored procedure without returning any value.
|
|
ExecuteReader ( string storedProcedureName ) : System.Data.SqlClient.SqlDataReader |
Executes a SQL stored procedure, returning the results as a SqlDataReader.
|
|
ExecuteScalar ( string storedProcedureName ) : object |
Executes a SQL stored procedure, returning a single value.
|
public AddAttribute ( int attributeDefinitionId, int locationId, string attributeValue ) : void | ||
attributeDefinitionId | int | |
locationId | int | |
attributeValue | string | |
return | void |
public AddAttributeDefinition ( int portalId, int locationTypeId, int dataType, string defaultValue, string attributeName, bool required, string validationExpression, int viewOrder, bool visible, int length ) : int | ||
portalId | int | |
locationTypeId | int | |
dataType | int | |
defaultValue | string | |
attributeName | string | |
required | bool | |
validationExpression | string | |
viewOrder | int | |
visible | bool | |
length | int | |
return | int |
public ClearLocations ( int portalId ) : void | ||
portalId | int | |
return | void |
public DeleteAttributeDefinition ( int attributeDefinitionId ) : void | ||
attributeDefinitionId | int | |
return | void |
public DeleteComment ( int commentId ) : void | ||
commentId | int | |
return | void |
public DeleteLocation ( int locationId ) : void | ||
locationId | int | |
return | void |
public DeleteLocationType ( int locationTypeId ) : void | ||
locationTypeId | int | |
return | void |
public GetAllLocations ( int portalId, bool approved, string sortColumn, int index, int pageSize ) : |
||
portalId | int | |
approved | bool | |
sortColumn | string | |
index | int | |
pageSize | int | |
return |
public GetAllLocationsByDistance ( double latitude, double longitude, int radius, int portalId, int locationTypeIds, int pageIndex, int pageSize ) : IDataReader | ||
latitude | double | The latitude of the search location. |
longitude | double | The longitude of the search location. |
radius | int | The radius in miles. |
portalId | int | The portal ID. |
locationTypeIds | int | The IDs of the types of locations to retrieve. |
pageIndex | int | Index of the page, or |
pageSize | int | Size of the page, or |
return | IDataReader |
public GetAllLocationsByType ( int portalId, int locationTypeIds, int pageIndex, int pageSize ) : IDataReader | ||
portalId | int | The portal ID. |
locationTypeIds | int | The IDs of the types of locations to retrieve. |
pageIndex | int | Index of the page, or |
pageSize | int | Size of the page, or |
return | IDataReader |
public GetAttributeDefinition ( int attributeDefinitionId ) : IDataReader | ||
attributeDefinitionId | int | |
return | IDataReader |
public GetAttributeDefinitionByName ( int locationTypeId, string name ) : IDataReader | ||
locationTypeId | int | |
name | string | |
return | IDataReader |
public GetAttributeDefinitions ( int locationTypeId ) : |
||
locationTypeId | int | |
return |
public GetAttributeDefinitionsById ( int locationTypeId ) : IDataReader | ||
locationTypeId | int | |
return | IDataReader |
public GetAttributeValues ( int locationId ) : |
||
locationId | int | |
return |
public GetComment ( int commentId ) : Comment | ||
commentId | int | |
return | Comment |
public GetComments ( int locationId, bool approved ) : |
||
locationId | int | |
approved | bool | |
return |
public GetCountriesList ( int portalId ) : |
||
portalId | int | |
return |
public GetEmailByFileId ( int fileId ) : |
||
fileId | int | |
return |
public GetEngageLocatorTabModules ( int portalId ) : |
||
portalId | int | |
return |
public GetFilesToImport ( ) : |
||
return |
public GetImportedLocationStatistics ( int portalId ) : |
||
portalId | int | |
return |
public GetLatitudeLongitude ( string address, string city ) : |
||
address | string | |
city | string | |
return |
public GetLocation ( int locationId ) : IDataReader | ||
locationId | int | |
return | IDataReader |
public GetLocationType ( int id ) : |
||
id | int | |
return |
public GetLocationTypeCount ( string type ) : int | ||
type | string | |
return | int |
public GetLocationTypeName ( int id ) : |
||
id | int | |
return |
public GetLocationTypes ( ) : |
||
return |
public GetLocations ( int typeId, int portalId ) : |
||
typeId | int | |
portalId | int | |
return |
public GetLocationsByCountry ( int countryId, int portalId, int pageIndex, int pageSize ) : IDataReader | ||
countryId | int | The country ID. |
portalId | int | The portal ID. |
pageIndex | int | Index of the page, or |
pageSize | int | Size of the page, or |
return | IDataReader |
public GetNClosestLocations ( double latitude, double longitude, int count, int portalId ) : |
||
latitude | double | The latitude. |
longitude | double | The longitude. |
count | int | The number of locations to return. |
portalId | int | The portal id. |
return |
public GetNewSubmittedComments ( int portalId, bool approved ) : |
||
portalId | int | |
approved | bool | |
return |
public GetTabModuleIdByFileId ( int fileId ) : int | ||
fileId | int | |
return | int |
public InsertComment ( int locationId, string text, string submittedBy, bool approved ) : void | ||
locationId | int | |
text | string | |
submittedBy | string | |
approved | bool | |
return | void |
public InsertFileInfo ( int fileId, int userId, int tabModuleId, int portalId, System.DateTime uploadDate, bool succeeded, bool processed ) : void | ||
fileId | int | |
userId | int | |
tabModuleId | int | |
portalId | int | |
uploadDate | System.DateTime | |
succeeded | bool | |
processed | bool | |
return | void |
public InsertLocationType ( string locationTypeName ) : int | ||
locationTypeName | string | |
return | int |
public SaveComment ( Comment myComment ) : void | ||
myComment | Comment | |
return | void |
public SaveTempLocation ( Location loc, bool successful ) : int | ||
loc | Location | |
successful | bool | |
return | int |
public UpdateAttribute ( int locationAttributeId, int locationId, string attributeValue ) : void | ||
locationAttributeId | int | |
locationId | int | |
attributeValue | string | |
return | void |
public UpdateAttributeDefinition ( int attributeDefinitionId, int dataType, string defaultValue, string attributeName, bool required, string validationExpression, int viewOrder, bool visible, int length ) : int | ||
attributeDefinitionId | int | |
dataType | int | |
defaultValue | string | |
attributeName | string | |
required | bool | |
validationExpression | string | |
viewOrder | int | |
visible | bool | |
length | int | |
return | int |
public UpdateComment ( int locationId, string comment, string submittedBy, bool approved, int userId ) : void | ||
locationId | int | |
comment | string | |
submittedBy | string | |
approved | bool | |
userId | int | |
return | void |
public UpdateImportedLocationRow ( int fileId ) : void | ||
fileId | int | |
return | void |
public UpdateLocationType ( int locationTypeId, string locationTypeName ) : void | ||
locationTypeId | int | |
locationTypeName | string | |
return | void |