This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if not OBJECT_ID('dbo.Proc_BackupDatabaseDailyWithLog') is null | |
Drop Proc dbo.Proc_BackupDatabaseDailyWithLog | |
go | |
Create Proc dbo.Proc_BackupDatabaseDailyWithLog( | |
@DbName sysname, | |
@TargetPath nvarchar(1000)) as | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if not OBJECT_ID('dbo.Proc_BackupDatabaseDailyWithLog') is null | |
Drop Proc dbo.Proc_BackupDatabaseDailyWithLog | |
go | |
Create Proc dbo.Proc_BackupDatabaseDailyWithLog( | |
@DbName sysname, | |
@TargetPath nvarchar(1000)) as | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
msbuild xpand.build /t:Copy;NuGetPackage /p:Version=13.2.9.100;SkipFixReferences=true;SkipDashboard=true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static TItem MaxBy<TItem, TValue>(this IEnumerable<TItem> items, Func<TItem, TValue> selector) | |
where TValue : IComparable | |
{ | |
if (items == null) | |
throw new ArgumentNullException("items"); | |
if (selector == null) | |
throw new ArgumentNullException("selector"); | |
TItem maxItem = items.FirstOrDefault(); |
OlderNewer