Skip to content

Instantly share code, notes, and snippets.

View alaawahbah's full-sized avatar

Alaa Wahbah alaawahbah

View GitHub Profile
dotnet --list-runtimes
dotnet --list-sdks
Update-Database -Script -SourceMigration: <pointFromWichYouWantToStartWithGeneration> -TargetMigration: <pointWhereToEndWithGeneration>
Update-Database -Script -SourceMigration: $InitialDatabase
Script-Migration -From <PreviousMigration> -To <LastMigration> //trying this and work
Script-Migration -From <PreviousMigration>
Script-Migration -From add-parent-id-to-contract
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GetPropertyFromObject
{
public class Class1
in abp 7 Error
A connection was successfully established with the server, but then an error occurred during the login process. (provider: SSL Provider, error: 0 - The certificate chain was issued by an authority that is not trusted.)
open in run MMC
SQL Server 2022 C:\Windows\SysWOW64\SQLServerManager16.msc
SQL Server 2019 C:\Windows\SysWOW64\SQLServerManager15.msc
SQL Server 2017 C:\Windows\SysWOW64\SQLServerManager14.msc
SQL Server 2016 C:\Windows\SysWOW64\SQLServerManager13.msc
<PackageReference Include="Hashids.net" Version="1.4.1" />
using HashidsNet;
var hashids = new Hashids("this is my salt");
Console.WriteLine(hashids.Encode(1));
Console.WriteLine(hashids.Encode(11));
Console.WriteLine(hashids.Encode(111));
SELECT
sys.columns.name AS ColumnName,
tables.name AS TableName
FROM
sys.columns
JOIN sys.tables ON
sys.columns.object_id = tables.object_id
WHERE
sys.tables.name LIKE 'App%'
and sys.columns.name not in (N'CreationTime',
aria-autocomplete="both" aria-haspopup="false" autocapitalize="off" autocomplete="off" autocorrect="off" autofocus="" role="combobox" spellcheck="false"
using Quartz;
using Quartz.Impl;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
namespace HFZMVC.Jobs
{
ng g c /register/Register -is --skip-tests --flat
const routes: Routes = [{ path: '', component: AbpBooksComponent,canActivate: [AuthGuard, PermissionGuard] }];