public GetCommunityDefaultAmenitiesCommand() { base.StoredProcedureName = CommonStoredProcedures.SpGetCommunityAmenityType; this.ParameterName = "@CommunityClassId"; this.SpParameter = new int?(1); base.CacheKey = CachedBaseCommand <List <KeyValuePair <int, string> > > .GetCacheKey(new string[] { base.StoredProcedureName, "common", this.ParameterName, this.SpParameter.ToString() }); }
public GetBedroomsCommand() { base.StoredProcedureName = CommonStoredProcedures.SpGetBedroom; this.SpParameter = null; this.DescriptionColumnName = "BedroomDescription"; this.IdColumnName = "BedroomId"; base.CacheKey = CachedBaseCommand <List <KeyValuePair <int, string> > > .GetCacheKey(new string[] { base.StoredProcedureName, this.DescriptionColumnName, this.IdColumnName }); }
public GetShcCategoriesForCommunityCommand() { base.StoredProcedureName = CommonStoredProcedures.SpGetAdditionalInformationType; this.SpParameter = new int?(2); this.ParameterName = "@AdditionalInformationClassId"; this.DescriptionColumnName = "Description"; this.IdColumnName = "AdditionalInformationTypeId"; base.CacheKey = CachedBaseCommand <List <KeyValuePair <int, string> > > .GetCacheKey(new string[] { base.StoredProcedureName, this.SpParameter.ToString(), this.ParameterName, this.DescriptionColumnName, this.IdColumnName }); }