/// <summary> /// /// </summary> public static SpielPosition CreateSpielPosition(SpielPosition position) { if (position == null) throw new ArgumentNullException("position"); using (var context = new WM2010Entities()) { context.AddToSpielPosition(position); context.SaveChanges(); } return position; }