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

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

어제 저녁때 노트북을 끌때 업데이트를 받은 외에 변경된 사항이 없는데
어제 만들었던 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)
512윤창일11/24/200616594[ActiveX vs 가장기법] [1]
511방문자11/24/200615429스마트 클라이언트 질문입니다. [3]
509주낙현11/22/200616939스마트 클라이언트에서 WebBrowser 컨트롤사용? [4]
508임장현11/20/200616372서로다른 프로젝트간의 세션공유에 대해 질문드립니다.
510정성태11/22/200614771    답변글 [답변]: 서로다른 프로젝트 간의 세션 공유에 대해 질문드립니다.
504탑.11/10/200615362COM+ 구성 좀 봐주세요...
505정성태11/14/200615142    답변글 [답변]: COM+ 구성 좀 봐주세요...
506탑.11/15/200614482        답변글 [답변]: [답변]: COM+ 구성 좀 봐주세요... [2]
503sagi...11/10/200614269bho 폼 관련 질문입니다/ [1]
501안연준11/7/200615036(SmartClient) 프레임워크 1.1 과 2.0 은 호환이 안된다? [3]
507안연준11/17/200614762    답변글 [답변]: (SmartClient) 프레임워크 1.1 과 2.0 은 호환이 안된다? [1]
498쿠리마10/30/200615145Smart Client를 VC60 MFC Dialog 에서 사용하기
500정성태10/30/200617147    답변글 [답변]: Smart Client를 VC60 MFC Dialog 에서 사용하기 [3]
497이방은10/30/200617255질문 있습니다..ㅡ.ㅠ;
499정성태10/30/200617079    답변글 [답변]: 질문 있습니다..ㅡ.ㅠ; [2]
495엔틱스10/25/200614704안녕하세요. 세션에 관련해서 질문을 올립니다. [2]
493안연준10/25/200615278스마트클라이언트 배포에서 Config 내용이 이해가 안되요
494안연준10/25/200613531    답변글 [답변]: 스마트클라이언트 배포에서 Config 내용이 이해가 안되요 [2]
489안연준10/23/200614762스마트 클라이언트 배포시 문제점
491안연준10/24/200615397    답변글 [답변]: 스마트 클라이언트 배포시 문제점 [2]
492안연준10/24/200614417        답변글 [답변]: [답변]: 스마트 클라이언트 배포시 문제점
488안연준10/23/200614084닷넷 프레임워크 때문에 일어난 어의없는 상황 [2]
484서민균10/20/200614164스마트 클라이언트 인쇄질문 올린 사람입니다.
486정성태10/22/200615510    답변글 [답변]: 스마트 클라이언트 인쇄질문 올린 사람입니다.
483guest10/19/200614686asp.net 에서 Com+ 등록된 dll 의 차이점이 무엇인지요?
485정성태10/22/200615496    답변글 [답변]: asp.net 에서 Com+ 등록된 dll 의 차이점이 무엇인지요?
... 76  77  78  [79]  80  81  82  83  84  85  86  87  88  89  90  ...