Skip to content

Instantly share code, notes, and snippets.

View jrummell's full-sized avatar
🚀

John Rummell jrummell

🚀
View GitHub Profile
param(
[string]$GitHubOrg = 'jrummell',
[switch]$DryRun,
[string[]]$IncludeFolders,
[string[]]$ExcludeFolders = @('.git', '.vs', 'node_modules'),
[switch]$Private,
[string]$RemoteName = 'origin',
[switch]$ForceRemoteReplace,
[string]$GithubRemoteName = 'github'
)
<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
<s:Boolean x:Key="/Default/CodeEditing/Intellisense/CodeCompletion/IntelliSenseCompletingCharacters/CSharpCompletingCharacters/UpgradedFromVSSettings/@EntryValue">True</s:Boolean>
<s:Boolean x:Key="/Default/CodeEditing/TypingAssist/Asp/FormatOnClosingTag/@EntryValue">True</s:Boolean>
<s:Boolean x:Key="/Default/CodeInspection/ExcludedFiles/FileMasksToSkip/=_002A_002Emin_002Ecss/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/CodeInspection/ExcludedFiles/FileMasksToSkip/=bootstrap_002A/@EntryIndexedValue">True</s:Boolean>
<s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=8D9A1A8A_002DA68A_002D44A0_002DA79A_002D8B3694A8A6EC_002Fd_003AContent_002Fd_003Ahtml/@EntryIndexedValue">ExplicitlyExcl
public static class Linq2SqlDbContextExtensions
{
public static IDbSet<TEntity> GetTable<TEntity>(this DbContext context)
where TEntity : class
{
return context.Set<TEntity>();
}
public static int SubmitChanges(this DbContext context)
{