Microsoft MVP성태의 닷넷 이야기
DataSet 의 designer.cs [링크 복사], [링크+제목 복사],
조회: 12339
글쓴 사람
한귀순
홈페이지
첨부 파일
 

안녕하세요.
한귀순입니다. ^^

어제 저녁때 노트북을 끌때 업데이트를 받은 외에 변경된 사항이 없는데
어제 만들었던 dataset 의 designer.cs 에는

--------------------------------------------------------------------------------
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.832
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------

#pragma warning disable 1591

namespace Softone.PlanManufacture.Material.BEC {
    using System;
    
    
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
    [Serializable()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.ComponentModel.ToolboxItem(true)]
    [System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedDataSetSchema")]
    [System.Xml.Serialization.XmlRootAttribute("TdsMatInBase")]
    [System.ComponentModel.Design.HelpKeywordAttribute("vs.data.DataSet")]
--------------------------------------------------------------------------------

이렇게 만들어졌는데

오늘 만든 dataset 은
--------------------------------------------------------------------------------

//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.1433
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------

#pragma warning disable 1591

namespace Softone.PlanManufacture.Material.BEC {
    
    
    /// <summary>
    ///Represents a strongly typed in-memory cache of data.
    ///</summary>
    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
    [global::System.Serializable()]
    [global::System.ComponentModel.DesignerCategoryAttribute("code")]
    [global::System.ComponentModel.ToolboxItem(true)]
    [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedDataSetSchema")]
    [global::System.Xml.Serialization.XmlRootAttribute("TdsMatOutBase")]
    [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.DataSet")]

--------------------------------------------------------------------------------

이렇게 만들어졌습니다.

버전이 올라가면서 만들어진 형태가 달라진거같긴 한대
왜 using 을 안시키고, global:: 이라고 썼냐라는거지요.

큰문제가 있는건 아닌거 같지만,
차이가 있는지 궁금해서요.

답변부탁드릴께요.
감사합니다. ^^








[최초 등록일: ]
[최종 수정일: 4/15/2008]


비밀번호

댓글 작성자
 



2008-04-15 10시29분
SP1 이 설치가 되었군요.

이런 경우는 제 설명 보다는, MSDN 도움말이 더 좋을 것 같습니다. ^^

How to: Use the Namespace Alias Qualifier (C# Programming Guide)
; http://msdn2.microsoft.com/en-us/library/c3ay4x3d(VS.80).aspx

기본적으로, C# 컴파일러의 이름 풀이가 근접한 scope 영역내에서 먼저 매칭을 시키기 때문인데, 이를 명시적으로 외부 scope 영역에 매핑하도록 지정해주는 것이 global 지시자입니다.
kevin25
2008-04-15 07시11분
[한귀순] 감사합니다.

그런데 sp1 부터 이렇게 둔건 먼가 문제를 제기하는 behind story 가 있었나부네요. ㅎㅎ

답변 감사합니다. ^^
[guest]

... 76  77  78  79  80  81  [82]  83  84  85  86  87  88  89  90  ...
NoWriterDateCnt.TitleFile(s)
4036/20/20068676Invoke 관련 문의 드립니다. [2]
4086/22/20067479    답변글 invoke 관련하여...
401김용국6/19/20068648SmartClient에서 동적 어셈블리 관련 문의 드립니다 [1]
402김용국6/20/20068007    답변글 [답변]: SmartClient에서 동적 어셈블리 관련 문의 드립니다 ... 다시 문의 드립니다! [1]
404김용국6/20/20068232        답변글 [답변]: [답변]: SmartClient에서 동적 어셈블리 관련 문의 드립니다 ... 다시 문의 드립니다! [1]
405김용국6/21/20068558            답변글 잘 되네요~~ ^^ 고맙습니다!
407김용국6/21/20067980                답변글 [답변]: 다시한번 문의드립니다!
398김성호6/17/20068722IE프로그래밍 관련하여 질문이
400정성태6/19/20068379    답변글 [답변]: IE프로그래밍 관련하여 질문이 [5]
396guest6/13/20068349CallByName 을 어떻게 처리해야 할지 ....조언 부탁합니다.
397정성태6/15/20068049    답변글 [답변]: CallByName 을 어떻게 처리해야 할지 ....조언 부탁합니다.
399guest6/19/20067756        답변글 [답변]: [답변]: CallByName 을 어떻게 처리해야 할지 ....조언 부탁합니다.
392이상식6/9/20068470스마트클라이언트 실행환경 관련 질문입니다.
394정성태6/12/20068339    답변글 [답변]: 스마트클라이언트 실행 환경 관련 질문입니다.
395이상식6/12/20068717        답변글 [답변]: [답변]: 스마트클라이언트 실행환경 관련 질문입니다.
391심현철6/9/20068573Win32 platform과 .NET platform간의 성능이 어느정도 차이가 날까요?
393정성태6/12/20068220    답변글 [답변]: Win32 platform과 .NET platform간의 성능이 어느정도 차이가 날까요?
390이현행6/6/20068403정말 답답해서 그렇습니다. [1]
389임경훈6/2/200618203sql과 oracle 사용시 파라메타 차이점
387창민 6/1/200610046안녕하세요.문제가 걸렸는데 해결기미가 안보여서 답답해서.. 혹시 아시면 문제 채질이라도...파일 다운로드1
388정성태6/1/20069756    답변글 [답변]: 안녕하세요.문제가 걸렸는데 해결기미가 안보여서 답답해서.. 혹시 아시면 문제 채질이라도...
385오윤섭5/31/20067497SmartClient 동적호출
386정성태6/1/20067896    답변글 [답변]: SmartClient 동적 호출
380윤용한5/29/20068063ATL Event에서 스크립트가 값을 다시 돌려주는 방법은?파일 다운로드1
381윤용한5/29/20067682    답변글 [답변]: ATL Event에서 스크립트가 값을 다시 돌려주는 방법은?
382윤용한5/29/20068237        답변글 [답변]: [답변]: ATL Event에서 스크립트가 값을 다시 돌려주는 방법은?
... 76  77  78  79  80  81  [82]  83  84  85  86  87  88  89  90  ...