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

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

어제 저녁때 노트북을 끌때 업데이트를 받은 외에 변경된 사항이 없는데
어제 만들었던 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)
5910guest4/24/20233642Async 메서드와 try~catch [1]
5909guest4/22/20234078Visual Studio 구매 시(1인 개발자) [4]
5908guest4/22/20233877텅빈 원그리기 [5]
5907민성4/21/20233485안녕하세요 서버 백업 문제에 대해서 [2]
5906guest4/21/20233621Dispatcher 서비스 구현 질문 [1]
5905guest4/20/20234010tabControl의 tabPage가 여러 개일 때 순서를 바꾸기가 까다롭네요 [5]
5904guest4/18/20233947[신규자료첨부] DLL 'SQLite.Interop.dll'을 찾을 수 없습니다 [4]파일 다운로드1
5903guest4/18/20233313fileSystemWatcher 이벤트 관련 질문입니다 [2]
5902guest4/17/20234012c#으로 USB 관련 질문 [2]
5901guest4/17/20233533내솔루션 판매 시 1.0.0.0 폴더와 Sqlite 배포 [5]
5900guest4/17/20234745DLL 'SQLite.Interop.dll'을 찾을 수 없습니다 [2]파일 다운로드1
5899guest4/17/20233627Dictionary와 Linq [4]
5898차가워4/17/20233520CNTK 교육 문의 [1]
5897guest4/17/20233399Socket스레드와 UI thread [4]
5896HAN4/16/20233430c언어 return 에 대해 궁금한게 있어요. [1]파일 다운로드1
5895guest4/15/20233148Drag and Drop - 모든 컨트롤 [2]
5894송부장4/14/20234568[질문] Visual Studio 2022에서 '도구 상자 항목 선택'의 'COM 구성 요소' 탭에서 ActiveX 목록이 보이지 않습니다. [3]파일 다운로드2
5893감사합니...4/14/20233175오라클 OLEDB방식 접속 후 SELECT 'TEST' TEST_VALUE FROM DUAL의 값이 이상합니다. [1]
5892한무4/14/20233375C# 으로 백그라운드에서 워드를 실행하여 매크로 실행이 가능 할까요? [2]
5891리세4/14/20233285안녕하세요.C# 서버프로그램에서의 Mysql 쿼리문제(다중쿼리 실행)에 대해 문의드립니다. [2]
5890guest4/14/20233933C# 프리랜서로 돈 벌려면 성태님 책 마스터하면 되나요? [6]
5889전예찬4/14/20233110C# 파일 복사 관련 질문 드립니다. [3]
5888정경구4/12/20233392C# 첫 환경 세팅과 관련해서 [4]
5887HAN4/12/20233015안녕하세요 파이썬도 공유 가능 할까요? [1]
5886guest4/11/20233405필요한 어셈블리만 다운로드 및 재로딩하는 방법에 관하여 [2]
5885guest4/11/20233234c#으로 드림위버같은 거 만들어볼려는데요 [6]
1  [2]  3  4  5  6  7  8  9  10  11  12  13  14  15  ...