C# 클래스 AllReady.Extensions.ContextExtensions

파일 보기 프로젝트 열기: HTBox/allReady

공개 메소드들

메소드 설명
AddOrUpdate ( this ctx, object entity ) : void

Handles correctly attaching an object to the context for cases where it may be new or modified.

메소드 상세

AddOrUpdate() 공개 정적인 메소드

Handles correctly attaching an object to the context for cases where it may be new or modified.
public static AddOrUpdate ( this ctx, object entity ) : void
ctx this
entity object
리턴 void