Reporter | Markus Hopfenspirger (MaHop.net) |
---|---|
Created | Jul 23, 2013 3:29:45 PM |
Updated | Apr 26, 2018 6:45:16 PM |
Subsystem | Quick Fixes - Create From Usage |
Assignee | Alisa Afonina (alisa.afonina) |
Priority | Normal |
State | Submitted |
Type | Bug |
Fix version | Backlog |
Affected versions | 2018.1 |
Fixed In Version ReSharper | Undefined |
VsVersion | All Versions |
See Attached screenshot... The Drop Down has the correct names, but the first suggestion is a Kind of strange... Code for copy and paste
public static void DeleteDataFinally(Guid mandantId) {
using (var context = MyTgaDbContext.Create()) {
var mandant = context.Mandanten.Find(mandantId);
if (mandant == null) return;
DeleteDataFinally(context, mandant);
MyTgaDbContextHelper.SaveChanges(context);
}
}
public static void DeleteDataFinally(Guid mandantId) {
using (var context = MyTgaDbContext.Create()) {
var mandant = context.Mandanten.Find(mandantId);
if (mandant == null) return;
DeleteDataFinally(context, mandant);
MyTgaDbContextHelper.SaveChanges(context);
}
}