Net3000.Almotawif 1.0.0

dotnet add package Net3000.Almotawif --version 1.0.0
                    
NuGet\Install-Package Net3000.Almotawif -Version 1.0.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Net3000.Almotawif" Version="1.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Net3000.Almotawif" Version="1.0.0" />
                    
Directory.Packages.props
<PackageReference Include="Net3000.Almotawif" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Net3000.Almotawif --version 1.0.0
                    
#r "nuget: Net3000.Almotawif, 1.0.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Net3000.Almotawif@1.0.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Net3000.Almotawif&version=1.0.0
                    
Install as a Cake Addin
#tool nuget:?package=Net3000.Almotawif&version=1.0.0
                    
Install as a Cake Tool

almotawifCore

Overview

The almotawifCore library powers Net3000's travel and pilgrimage booking experiences. It offers services for managing packages, categories, departures, reservations, supplier imports, marketing metadata, notifications, and integrations such as Facebook posting and Twilio SMS. The package also exposes the Entity Framework context for the Almotawif schema so that applications can compose complex itineraries and pricing workflows.

Public API

<details> <summary>net3000.almotawif.dbContext.almotawifDB</summary>

Member Summary Parameters
almotawifDB almotawifDB(DbContextOptions<almotawifDB> options) Almotawif DB. options (DbContextOptions<almotawifDB>)

</details>

<details> <summary>net3000.almotawif.dbContext.mt_categories</summary>

Member Summary Parameters
string metaField(string key) Meta Field. key (string)

</details>

<details> <summary>net3000.almotawif.dbContext.mt_departures</summary>

Member Summary Parameters
mt_departures mt_departures() Mt departures. None

</details>

<details> <summary>net3000.almotawif.dbContext.mt_packages</summary>

Member Summary Parameters
mt_packages mt_packages() Mt packages. None

</details>

<details> <summary>net3000.almotawif.dbContext.mt_reservations</summary>

Member Summary Parameters
string metaField(string fieldName) Meta Field. fieldName (string)
mt_reservations mt_reservations() Mt reservations. None

</details>

<details> <summary>net3000.almotawif.dbContext.mt_supplierPackages</summary>

Member Summary Parameters
mt_supplierPackages mt_supplierPackages() Mt supplier Packages. None

</details>

<details> <summary>net3000.almotawif.lib</summary>

Member Summary Parameters
Dictionary<string, string> MetaTagList(mt_packages package) Meta Tag List. package (mt_packages)
Dictionary<string, string> MetaTagList(mt_categories category) Meta Tag List. category (mt_categories)
string MetaTagListString(packageCategoriesPage categoryPage) Meta Tag List String. categoryPage (packageCategoriesPage)
string MetaTagListString(mt_packages package) Meta Tag List String. package (mt_packages)
string MetaTagListString(mt_categories category) Meta Tag List String. category (mt_categories)
packageCategoriesPage categoryPageByPackageType(int packageTypeId, bool activeOnly, int account) Category Page By Package Type. packageTypeId (int), activeOnly (bool), account (int)
bool checkBrand(string brand) Check Brand. brand (string)
void cleanInvalidPackageImages() Clean Invalid Package Images. None
mt_packages copyPackage(mt_packages package) Copy Package. package (mt_packages)
mt_packages copyPackage_v2(mt_packages package) Copy Package v 2. package (mt_packages)
string currency(double? amount) Currency. amount (double?)
Task<packageCategoriesPage> getBrandPage(string brand, int pageIndex, int pageSize) Get Brand Page. brand (string), pageIndex (int), pageSize (int)
Task<List<mt_categories>> getBrands() Get Brands. None
Task<List<mt_categories>> getCategories(int id, int packageType, string brand, int? myaccount, bool includeSubCategories, bool includePackages, bool activeOnly, string region, int pageIndex, int? pageSize, int count, int packageCount, bool includeItinerary, bool includeServices) Get Categories. id (int), packageType (int), brand (string), myaccount (int?), includeSubCategories (bool), includePackages (bool), activeOnly (bool), region (string), pageIndex (int), pageSize (int?), count (int), packageCount (int), includeItinerary (bool), includeServices (bool)
List<mt_categories> getCategoriesByPackageType(int packageType, int? myaccount) Get Categories By Package Type. packageType (int), myaccount (int?)
Task<packageCategoriesPage> getCategoriesPage(int id, int packageType, int? myaccount, bool includeSubCategories, bool includePackages, bool activeOnly, string currency, int pageIndex, int pageSize, bool includeItinerary, bool includeServices, string brand, string region) Get Categories Page. id (int), packageType (int), myaccount (int?), includeSubCategories (bool), includePackages (bool), activeOnly (bool), currency (string), pageIndex (int), pageSize (int), includeItinerary (bool), includeServices (bool), brand (string), region (string)
Task<List<mt_packages>> getFrontPackages(int categoryID, int packageType, int count) Get Front Packages. categoryID (int), packageType (int), count (int)
mt_reservations getHotelRates(mt_reservations reservation) Get Hotel Rates. reservation (mt_reservations)
Task<mt_packages> getPackage(int? id, int? myaccount, string code, string brand, string currency) Get Package. id (int?), myaccount (int?), code (string), brand (string), currency (string)
mt_packages getPackageAsync(int id, int? myaccount, string code, string brand) Get Package Async. id (int), myaccount (int?), code (string), brand (string)
Task<List<mt_packages>> getPackages(int? packageType, int? myaccount, bool activeOnly, int? pageSize, int pageIndex) Get Packages. packageType (int?), myaccount (int?), activeOnly (bool), pageSize (int?), pageIndex (int)
packageCategoriesPage getPackagesforSearch(int? packageType, int? myaccount, bool activeOnly, string keyword, string priceRange, string duration, int pageIndex, int pageSize) Get Packagesfor Search. packageType (int?), myaccount (int?), activeOnly (bool), keyword (string), priceRange (string), duration (string), pageIndex (int), pageSize (int)
Task<packageCategoriesPage> getRegionPage(string region, int pageIndex, int pageSize) Get Region Page. region (string), pageIndex (int), pageSize (int)
List<mt_categories> getRegions() Get Regions. None
Task<mt_reservations> getReservation(int id) Get Reservation. id (int)
List<mt_packages> getSearchPackages(int? myaccount, string keyword, string priceRange, string duration) Get Search Packages. myaccount (int?), keyword (string), priceRange (string), duration (string)
Task<List<mt_brands>> getallBrands() Getall Brands. None
bool isFileURLExists(string url) Is File URL Exists. url (string)
void postPageToFacebook(mt_packages package) Post Page To Facebook. package (mt_packages)
void prepCategory(mt_categories category) Prep Category. category (mt_categories)
void prepCategory(simpleCategory category) Prep Category. category (simpleCategory)
void prepCategory(List<simpleCategory> categories) Prep Category. categories (List<simpleCategory>)
void prepCategoryPage(packageCategoriesPage myPage, mt_categories category, IQueryable<mt_packages> packages, int pageIndex, int pageSize, List<mt_packages> packageList) Prep Category Page. myPage (packageCategoriesPage), category (mt_categories), packages (IQueryable<mt_packages>), pageIndex (int), pageSize (int), packageList (List<mt_packages>)
void prepPackage(mt_packages package, string currency) Prep Package. package (mt_packages), currency (string)
void prepPackage(List<simplePackage> packages) Prep Package. packages (List<simplePackage>)
void prepPackage(simplePackage package) Prep Package. package (simplePackage)
List<mt_packages> regionPackages(List<string> regions) Region Packages. regions (List<string>)
void sendReservation(mt_reservations res, sendTo send) Send Reservation. res (mt_reservations), send (sendTo)
void sendSMS(mt_reservations reservation) Send SMS. reservation (mt_reservations)
string structuredData(string title, string description, string featuedImage, string url) Structured Data. title (string), description (string), featuedImage (string), url (string)
string tagLine(List<mt_departures> departures) Tag Line. departures (List<mt_departures>)

</details>

<details> <summary>net3000.almotawif.travelSavers</summary>

Member Summary Parameters
string cleanfrench(string str) Cleanfrench. str (string)
List<mt_flightDeals> flightDeals() Flight Deals. None
List<mt_packages> packageDeals() Package Deals. None
travelSavers travelSavers(string myAlias, string myLanguage, string myResultPage) Travel Savers. myAlias (string), myLanguage (string), myResultPage (string)
travelSavers travelSavers(int myaccount) Travel Savers. myaccount (int)

</details>

<details> <summary>net3000.almotawif.ttc</summary>

Member Summary Parameters
string downloadTours(string brand) Download Tours. brand (string)
ttc ttc() Ttc. None

</details>

<details> <summary>net3000.almotawifCore.packageCategoriesPage</summary>

Member Summary Parameters
packageCategoriesPage packageCategoriesPage() Package Categories Page. None

</details>

<details> <summary>net3000.netlibCore.gAdventures</summary>

Member Summary Parameters
string downloadDepartures(string tourId) Download Departures. tourId (string)
string downloadTour(string tourId) Download Tour. tourId (string)
gAdventures gAdventures(string setSecretKey) G Adventures. setSecretKey (string)
departuresList getDepartures(string tourId) Get Departures. tourId (string)
structuredIteniraryDetail getItinerary(string id, string variation_id) Get Itinerary. id (string), variation_id (string)
tourDetail getTour(string tourId) Get Tour. tourId (string)
tourPage getTourList(int page) Get Tour List. page (int)
string post(string c) Post. c (string)

</details>

<details> <summary>net3000.netlibCore.tourDetail</summary>

Member Summary Parameters
string customFields() Custom Fields. None

</details>

Usage Notes

  • Configure the shared common.lib, content.lib, and database contexts before using the booking helpers. Most methods assume the account and application settings are loaded.
  • Use the prep* helpers to enrich package and category models with calculated fields prior to rendering templates.
  • Communication helpers such as sendReservation and sendSMS rely on mailing and Twilio services being configured.

License

This library is proprietary to Net3000. Redistribution or use outside Net3000.ca solutions is not permitted.

Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.0 100 10/2/2025

Initial release of Net3000 Almotawif library with travel booking, package management, and reservation features.