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

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

어제 저녁때 노트북을 끌때 업데이트를 받은 외에 변경된 사항이 없는데
어제 만들었던 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]

... 61  62  63  64  [65]  66  67  68  69  70  71  72  73  74  75  ...
NoWriterDateCnt.TitleFile(s)
981김창욱7/11/201121211주식형태의 프로그램 처럼 SQL서버의 특정 필드 데이터의 변화가 있을때 재 클라이언트가 정보를 갱신 할 수 있게 하는 방법은 없을까요? [2]
980YJ7/7/201120957App Pool idle time 과 WCF 서비스의 비동기 function 호출. [3]
979왕초보7/1/201119231Apache + IIS Redirect [2]
9776/16/201123174웹컨트롤 어느거 쓰는게 좋나요 [1]
976박성준6/13/201118689VS2008 Add-in 구현 관련 질문 [4]
972김길6/6/201120953메모리 해제 예외 처리 관련.. [2]
971강동원5/29/201118493firebird install건 [1]
970임동찬5/18/201119272ASP.net 솔루션 디버깅 관련 [1]
969이성환5/4/201120934WMI 를 사용하지 않고 하드웨어 정보를 가져올 수 없을까요? [3]
968김동미4/28/201120360안녕하세요 다시 한번 문의를 드립니다.. [2]파일 다운로드1
967임동찬4/22/201123045C# using문 관련 [9]
964김동미4/18/201120677wcf IsOneWay 속성관련 문의 입니다..
965정성태4/18/201121985    답변글 [답변]: wcf IsOneWay 속성관련 문의 입니다..
966김동미4/19/201119596        답변글 [답변]: [답변]: wcf IsOneWay 속성관련 문의 입니다.. [1]
963최재훈4/12/201118247wcf inactivityTimeout 설정시 문의 사항이 있습니다. [2]
962임동찬4/8/201117891TFS 사용관련 [1]
961임동찬4/7/201118214XSD & XML & XmlCodeGenerator [2]
960임동찬4/5/201119897XML Schema Editor [4]
959immm3/24/201117656로그인 연동 어려운 건가요? [1]
958꼭지3/3/201119769Supporting compressed request in WCF 3.5 [5]
957임동찬2/21/201120209WCF channel faulted 관련 [2]
956윤용한2/18/201123670WaitHandle.WaitOne 과 Stopwatch에 관한 질문 [3]
955최광욱2/17/201120351TFS 에서 소스 영구 제거 방법 [1]
954한장우2/16/201118022atl activeX 질문이요~ [1]
952박용운2/16/201118901IE8.0에서 BHO [1]
953박용운2/16/201118848    답변글 [답변]: IE8.0에서 BHO
... 61  62  63  64  [65]  66  67  68  69  70  71  72  73  74  75  ...