2014-04-23 3 views

답변

1

디 컴파일 본체 : 다른 어딘가에 교착 수 없지만 SqlGeography.ConstructGLNativeMethods.GeodeticUnion이 정적 메소드이다

[SqlMethod(IsDeterministic=true, IsPrecise=false)] 
    public SqlGeometry STUnion(SqlGeometry other) 
    { 
     if (this.IsNull || other == null || other.IsNull || this.Srid != other.Srid) 
     { 
      return SqlGeometry.Null; 
     } 
     this.ThrowIfInvalid(); 
     other.ThrowIfInvalid(); 
     return SqlGeometry.Construct(GLNativeMethods.Union(this.GeoData, other.GeoData), this.Srid); 
    } 

. 사용 된 메서드 중 호출하는 개체를 수정하는 것이 사용되지 않으므로 스레드로부터 안전합니다.

0

어떻게 될 수 있습니까? SqlGeometry는 변경할 수없는 것 같습니다. 그래서 2 개의 불변 클래스의 입력은 결정된 출력이어야합니다. JustDecompile SQL을 사용하여 11.0 어셈블리

+0

저는 잘 이해하지 못합니다. 나는 노동 조합을 만들기 위해 10 만 개 이상의 항목을 가지고 있으며 그것은 한주기에서 매우 느립니다. – Musketyr

관련 문제