ContextProvider.OpenNew C# (CSharp) 메소드

OpenNew() 공개 정적인 메소드

public static OpenNew ( ) : void
리턴 void
        public static void OpenNew(){
            var context = new ObjectContext();
            HttpContext.Items["CurrentObjectContext"] = context; 
        }
        public static void CloseCurrent(){