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

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

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

1  2  3  4  5  6  7  8  [9]  10  11  12  13  14  15  ...
NoWriterDateCnt.TitleFile(s)
5765hong12/1/202213042Winform(.Net6) 클라이언트에서 SignalR Core 웹서버에 접속시 인증서 문제 [3]파일 다운로드1
5764요한11/30/202212988c++ 동일한 객체인지 비교 방법문의 [2]
5763고필석11/30/202212291시작하자마자 비정상 종료하는 프로세스에 대한 문제 해결 조언 요청 드립니다. [3]
5762흰털너부리11/30/202212307wpf mvvm ui update 로딩중 표시 [1]
5761민성11/29/202212247죄송하지만 한가지만 더 여쭈어 보겠습니다 [1]
5760민성11/29/202212811안녕하세요 [2]
5759문정환11/28/202212429c# socket 통신할때 빅엔디언으로 바꿔줘야 하나요? [1]
5758라떼11/28/202215624Linux 에서 winform UI 어플리케이션 실행하기 [3]
5757흰털너부리11/25/202213993asp.net core EF AddDbContext,AddDbContextFactory 차이점 알려주세요 [1]
5756흰털너부리11/25/202214256asp.net core web api에서 json 특정 property 무시하는 방법 문의 드립니다. System.Text.Json 사용중입니다. [1]
5755문정환11/24/202214527싱글스레드 프로그램도 컨텍스트 스위칭이 생길 수 있나요? [4]
5754초급11/24/202214554c# 소켓통신 [1]
5753흰털너부리11/24/202213295List와 ObservableCollection을 비교 해서 다른 값 추출 FirstOrDefault 객체 비교 [4]파일 다운로드1
5752푸헐11/15/202212347app.config 에 connectionStrings를 aspnet_regiis로 enctyption [4]
5751차가워11/8/202214981vs2022 preview net7 AOT 콘솔 실행 성능 [7]
5749차가워11/4/202212911전처리 지시문 #if DEBUG 배포시 실행 여부 [1]
5748김기헌11/3/202214550안녕하세요 선생님 싱글톤 패턴을 꼭 이렇게 사용해야 하나요? [6]
5747김기헌11/2/202213429안녕하세요 선생님 네트워크 관련 용어 중 IP 주소가 왜 논리적 주소라고 표현되는 건가요? [2]
5746물냉면이...11/2/202213501서로 다른 클래스에 있는 동일 함수의 일괄 호출 방법에 대해 궁금합니다. [3]
5745흰털너부리11/1/202212857.net core web api 사용 제한에 관한 질문 입니다. [2]
5744차가워10/31/202215399윈폼 Console.WriteLine(); 연산 문의 [1]
5743흰털너부리10/27/202213412reflection, static, override 질문입니다. [1]
5742차가워10/27/202212050하나의 socket에 여러 스레드가 접근 하는 경우 [1]
5741조호상10/27/202212550OpenCVSharp4 구현 가능 문의 [1]
5740혜성10/26/202214903Visual Studio 2022 C# 콘솔 프로그램 기본 코드 변경된 이유는 무엇인가요? [2]
5739슬픈단잠10/25/202213650조언 주신 방법으로 해봤으나, 여전히 어디가 문제인지 파악을 못했습니다. [2]
1  2  3  4  5  6  7  8  [9]  10  11  12  13  14  15  ...