프로젝트

일반

사용자정보

개정판 f714bef8

IDf714bef8a9cadb01ce034a395b096f152d6d14e8
상위 b3f088e9
하위 6a419948

김동진이(가) 5년 이상 전에 추가함

issue #000 file upload wcf add

Change-Id: Ied1a5fb1cd2f345ccade43a45efffec51561e359

차이점 보기:

FileSave/FileSave.sln
1

2
Microsoft Visual Studio Solution File, Format Version 12.00
3
# Visual Studio 15
4
VisualStudioVersion = 15.0.26730.3
5
MinimumVisualStudioVersion = 10.0.40219.1
6
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FileUploadWevService", "FileUploadWevService\FileUploadWevService.csproj", "{8A7E6629-886E-4F39-A8C5-EE24589891A8}"
7
EndProject
8
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "KCOMDataModel", "KCOMDataModel\KCOMDataModel.csproj", "{629DC8CD-D458-47EF-8F02-CD12C7001C3E}"
9
EndProject
10
Global
11
	GlobalSection(SolutionConfigurationPlatforms) = preSolution
12
		Debug|Any CPU = Debug|Any CPU
13
		Release|Any CPU = Release|Any CPU
14
	EndGlobalSection
15
	GlobalSection(ProjectConfigurationPlatforms) = postSolution
16
		{8A7E6629-886E-4F39-A8C5-EE24589891A8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
17
		{8A7E6629-886E-4F39-A8C5-EE24589891A8}.Debug|Any CPU.Build.0 = Debug|Any CPU
18
		{8A7E6629-886E-4F39-A8C5-EE24589891A8}.Release|Any CPU.ActiveCfg = Release|Any CPU
19
		{8A7E6629-886E-4F39-A8C5-EE24589891A8}.Release|Any CPU.Build.0 = Release|Any CPU
20
		{629DC8CD-D458-47EF-8F02-CD12C7001C3E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
21
		{629DC8CD-D458-47EF-8F02-CD12C7001C3E}.Debug|Any CPU.Build.0 = Debug|Any CPU
22
		{629DC8CD-D458-47EF-8F02-CD12C7001C3E}.Release|Any CPU.ActiveCfg = Release|Any CPU
23
		{629DC8CD-D458-47EF-8F02-CD12C7001C3E}.Release|Any CPU.Build.0 = Release|Any CPU
24
	EndGlobalSection
25
	GlobalSection(SolutionProperties) = preSolution
26
		HideSolutionNode = FALSE
27
	EndGlobalSection
28
	GlobalSection(ExtensibilityGlobals) = postSolution
29
		SolutionGuid = {47BD1DAE-1B4B-40E9-ACB8-96EA4455D1C0}
30
	EndGlobalSection
31
EndGlobal
FileSave/FileUploadWevService/FileUpload.asmx
1
<%@ WebService Language="C#" CodeBehind="FileUpload.asmx.cs" Class="FileUploadWevService.FileUpload" %>
FileSave/FileUploadWevService/FileUpload.asmx.cs
1
using System;
2
using System.Collections.Generic;
3
using System.Drawing;
4
using System.IO;
5
using System.Linq;
6
using System.Web;
7
using System.Web.Services;
8

  
9
namespace FileUploadWevService
10
{
11
    /// <summary>
12
    /// FileUpload의 요약 설명입니다.
13
    /// </summary>
14
    [WebService(Namespace = "http://tempuri.org/")]
15
    [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
16
    [System.ComponentModel.ToolboxItem(false)]
17
    // ASP.NET AJAX를 사용하여 스크립트에서 이 웹 서비스를 호출하려면 다음 줄의 주석 처리를 제거합니다. 
18
    // [System.Web.Script.Services.ScriptService]
19
    public class FileUpload : System.Web.Services.WebService
20
    {
21

  
22
        [WebMethod]
23
        //public string Run(string ProjectNo, string VPNo, string UserID, string FileName, byte[] imageBytes)
24
        public string Run(string ProjectNo, string VPNo, string UserID, string FileName, byte[] f)
25
        {
26
            KCOMDataModel.DataModel.KCOMEntities entity = new KCOMDataModel.DataModel.KCOMEntities(KCOMDataModel.Common.ConnectStringBuilder.KCOMConnectionString().ToString());
27

  
28
            var item = entity.PROPERTIES.Where(data => data.TYPE == "SystemInfo" && data.PROPERTY == "Url").FirstOrDefault();
29
            string result = "";
30
            if (item!=null)
31
            {
32
                result = string.Format(@"{0}/UserData/{1}/{2}/{3}", item.VALUE, ProjectNo, UserID, FileName);
33
            }
34
            else
35
            {
36
                result = string.Format("http://165.244.178.145:5977/UserData/{0}/{1}/{2}", ProjectNo, UserID, FileName);
37
            }
38

  
39
            try
40
            {
41
                string DirectoryPath = string.Format(@"D:\TileSource\UserData\{0}\{1}", ProjectNo, UserID);
42
                DirectoryInfo directoryInfo_ = new DirectoryInfo(DirectoryPath);
43

  
44
                if (!directoryInfo_.Exists)
45
                {
46
                    directoryInfo_.Create();
47
                }
48
                //Image imageinfo = Converter(base64String);
49

  
50
                MemoryStream ms = new MemoryStream(f);
51
                FileStream fs = new FileStream(directoryInfo_ + @"\" + FileName, FileMode.Create);
52
                ms.WriteTo(fs);
53

  
54
                ms.Close();
55
                fs.Close();
56
                fs.Dispose();
57
                //imageinfo.Save(DirectoryPath + @"\" + FileName + "png", System.Drawing.Imaging.ImageFormat.Png);
58
            }
59
            catch (Exception ex)
60
            {
61
                result = ex.ToString();
62
            }
63

  
64
            return result;
65
        }
66

  
67
        public Image Converter(string base64String)
68
        {
69
            byte[] imageBytes = Convert.FromBase64String(base64String);
70

  
71
            using (var ms = new MemoryStream(imageBytes, 0, imageBytes.Length))
72
            {
73
                Image image = Image.FromStream(ms, true);
74
                return image;
75
            }
76
        }
77
    }
78
}
FileSave/FileUploadWevService/FileUploadWevService.csproj
1
<Project ToolsVersion="15.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
2
  <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
3
  <PropertyGroup>
4
    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
5
    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
6
    <ProductVersion>
7
    </ProductVersion>
8
    <SchemaVersion>2.0</SchemaVersion>
9
    <ProjectGuid>{8A7E6629-886E-4F39-A8C5-EE24589891A8}</ProjectGuid>
10
    <ProjectTypeGuids>{349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids>
11
    <OutputType>Library</OutputType>
12
    <AppDesignerFolder>Properties</AppDesignerFolder>
13
    <RootNamespace>FileUploadWevService</RootNamespace>
14
    <AssemblyName>FileUploadWevService</AssemblyName>
15
    <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
16
    <UseIISExpress>true</UseIISExpress>
17
    <Use64BitIISExpress />
18
    <IISExpressSSLPort />
19
    <IISExpressAnonymousAuthentication />
20
    <IISExpressWindowsAuthentication />
21
    <IISExpressUseClassicPipelineMode />
22
    <UseGlobalApplicationHostFile />
23
  </PropertyGroup>
24
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
25
    <DebugSymbols>true</DebugSymbols>
26
    <DebugType>full</DebugType>
27
    <Optimize>false</Optimize>
28
    <OutputPath>bin\</OutputPath>
29
    <DefineConstants>DEBUG;TRACE</DefineConstants>
30
    <ErrorReport>prompt</ErrorReport>
31
    <WarningLevel>4</WarningLevel>
32
  </PropertyGroup>
33
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
34
    <DebugType>pdbonly</DebugType>
35
    <Optimize>true</Optimize>
36
    <OutputPath>bin\</OutputPath>
37
    <DefineConstants>TRACE</DefineConstants>
38
    <ErrorReport>prompt</ErrorReport>
39
    <WarningLevel>4</WarningLevel>
40
  </PropertyGroup>
41
  <ItemGroup>
42
    <Reference Include="Microsoft.CSharp" />
43
    <Reference Include="System.Data.Entity" />
44
    <Reference Include="System.Web.DynamicData" />
45
    <Reference Include="System.Web.Entity" />
46
    <Reference Include="System.Web.ApplicationServices" />
47
    <Reference Include="System.ComponentModel.DataAnnotations" />
48
    <Reference Include="System" />
49
    <Reference Include="System.Data" />
50
    <Reference Include="System.Core" />
51
    <Reference Include="System.Data.DataSetExtensions" />
52
    <Reference Include="System.Web.Extensions" />
53
    <Reference Include="System.Xml.Linq" />
54
    <Reference Include="System.Drawing" />
55
    <Reference Include="System.Web" />
56
    <Reference Include="System.Xml" />
57
    <Reference Include="System.Configuration" />
58
    <Reference Include="System.Web.Services" />
59
    <Reference Include="System.EnterpriseServices" />
60
  </ItemGroup>
61
  <ItemGroup>
62
    <Content Include="FileUpload.asmx" />
63
    <Content Include="Web.config">
64
      <SubType>Designer</SubType>
65
    </Content>
66
  </ItemGroup>
67
  <ItemGroup>
68
    <Compile Include="FileUpload.asmx.cs">
69
      <DependentUpon>FileUpload.asmx</DependentUpon>
70
      <SubType>Component</SubType>
71
    </Compile>
72
    <Compile Include="Properties\AssemblyInfo.cs" />
73
  </ItemGroup>
74
  <ItemGroup>
75
    <None Include="Properties\PublishProfiles\FolderProfile.pubxml" />
76
    <None Include="Web.Debug.config">
77
      <DependentUpon>Web.config</DependentUpon>
78
    </None>
79
    <None Include="Web.Release.config">
80
      <DependentUpon>Web.config</DependentUpon>
81
    </None>
82
  </ItemGroup>
83
  <ItemGroup>
84
    <ProjectReference Include="..\KCOMDataModel\KCOMDataModel.csproj">
85
      <Project>{629dc8cd-d458-47ef-8f02-cd12c7001c3e}</Project>
86
      <Name>KCOMDataModel</Name>
87
    </ProjectReference>
88
  </ItemGroup>
89
  <PropertyGroup>
90
    <VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">10.0</VisualStudioVersion>
91
    <VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
92
  </PropertyGroup>
93
  <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
94
  <Import Project="$(VSToolsPath)\WebApplications\Microsoft.WebApplication.targets" Condition="'$(VSToolsPath)' != ''" />
95
  <Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets" Condition="false" />
96
  <ProjectExtensions>
97
    <VisualStudio>
98
      <FlavorProperties GUID="{349c5851-65df-11da-9384-00065b846f21}">
99
        <WebProjectProperties>
100
          <UseIIS>True</UseIIS>
101
          <AutoAssignPort>True</AutoAssignPort>
102
          <DevelopmentServerPort>50657</DevelopmentServerPort>
103
          <DevelopmentServerVPath>/</DevelopmentServerVPath>
104
          <IISUrl>http://localhost:50657/</IISUrl>
105
          <NTLMAuthentication>False</NTLMAuthentication>
106
          <UseCustomServer>False</UseCustomServer>
107
          <CustomServerUrl>
108
          </CustomServerUrl>
109
          <SaveServerSettingsInUserFile>False</SaveServerSettingsInUserFile>
110
        </WebProjectProperties>
111
      </FlavorProperties>
112
    </VisualStudio>
113
  </ProjectExtensions>
114
  <!-- To modify your build process, add your task inside one of the targets below and uncomment it. 
115
       Other similar extension points exist, see Microsoft.Common.targets.
116
  <Target Name="BeforeBuild">
117
  </Target>
118
  <Target Name="AfterBuild">
119
  </Target>
120
  -->
121
</Project>
FileSave/FileUploadWevService/FileUploadWevService.csproj.user
1
<?xml version="1.0" encoding="utf-8"?>
2
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3
  <PropertyGroup>
4
    <UseIISExpress>true</UseIISExpress>
5
    <Use64BitIISExpress />
6
    <IISExpressSSLPort />
7
    <IISExpressAnonymousAuthentication />
8
    <IISExpressWindowsAuthentication />
9
    <IISExpressUseClassicPipelineMode />
10
    <UseGlobalApplicationHostFile />
11
    <LastActiveSolutionConfig>Debug|Any CPU</LastActiveSolutionConfig>
12
    <NameOfLastUsedPublishProfile>FolderProfile</NameOfLastUsedPublishProfile>
13
  </PropertyGroup>
14
  <ProjectExtensions>
15
    <VisualStudio>
16
      <FlavorProperties GUID="{349c5851-65df-11da-9384-00065b846f21}">
17
        <WebProjectProperties>
18
          <StartPageUrl>
19
          </StartPageUrl>
20
          <StartAction>CurrentPage</StartAction>
21
          <AspNetDebugging>True</AspNetDebugging>
22
          <SilverlightDebugging>False</SilverlightDebugging>
23
          <NativeDebugging>False</NativeDebugging>
24
          <SQLDebugging>False</SQLDebugging>
25
          <ExternalProgram>
26
          </ExternalProgram>
27
          <StartExternalURL>
28
          </StartExternalURL>
29
          <StartCmdLineArguments>
30
          </StartCmdLineArguments>
31
          <StartWorkingDirectory>
32
          </StartWorkingDirectory>
33
          <EnableENC>True</EnableENC>
34
          <AlwaysStartWebServerOnDebug>True</AlwaysStartWebServerOnDebug>
35
        </WebProjectProperties>
36
      </FlavorProperties>
37
    </VisualStudio>
38
  </ProjectExtensions>
39
</Project>
FileSave/FileUploadWevService/Properties/AssemblyInfo.cs
1
using System.Reflection;
2
using System.Runtime.CompilerServices;
3
using System.Runtime.InteropServices;
4

  
5
// 어셈블리의 일반 정보는 다음 특성 집합을 통해 
6
// 제어됩니다. 어셈블리와 관련된 정보를 수정하려면
7
// 이 특성 값을 변경하십시오.
8
[assembly: AssemblyTitle("FileUploadWevService")]
9
[assembly: AssemblyDescription("")]
10
[assembly: AssemblyConfiguration("")]
11
[assembly: AssemblyCompany("")]
12
[assembly: AssemblyProduct("FileUploadWevService")]
13
[assembly: AssemblyCopyright("Copyright ©  2017")]
14
[assembly: AssemblyTrademark("")]
15
[assembly: AssemblyCulture("")]
16

  
17
// ComVisible을 false로 설정하면 이 어셈블리의 형식이 COM 구성 요소에 
18
// 표시되지 않습니다. COM에서 이 어셈블리의 형식에 액세스하려면 
19
// 해당 형식에 대해 ComVisible 특성을 true로 설정하십시오.
20
[assembly: ComVisible(false)]
21

  
22
// 이 프로젝트가 COM에 노출되는 경우 다음 GUID는 typelib의 ID를 나타냅니다.
23
[assembly: Guid("8a7e6629-886e-4f39-a8c5-ee24589891a8")]
24

  
25
// 어셈블리의 버전 정보는 다음 네 가지 값으로 구성됩니다.:
26
//
27
//      주 버전
28
//      부 버전 
29
//      빌드 번호
30
//      수정 버전
31
//
32
// 모든 값을 지정하거나 아래와 같이 '*'를 사용하여 빌드 번호 및 수정 버전이 자동으로 
33
// 지정되도록 할 수 있습니다.:
34
[assembly: AssemblyVersion("1.0.0.0")]
35
[assembly: AssemblyFileVersion("1.0.0.0")]
FileSave/FileUploadWevService/Properties/PublishProfiles/FolderProfile.pubxml
1
<?xml version="1.0" encoding="utf-8"?>
2
<!--
3
This file is used by the publish/package process of your Web project. You can customize the behavior of this process
4
by editing this MSBuild file. In order to learn more about this please visit https://go.microsoft.com/fwlink/?LinkID=208121. 
5
-->
6
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
7
  <PropertyGroup>
8
    <WebPublishMethod>FileSystem</WebPublishMethod>
9
    <PublishProvider>FileSystem</PublishProvider>
10
    <LastUsedBuildConfiguration>Release</LastUsedBuildConfiguration>
11
    <LastUsedPlatform>Any CPU</LastUsedPlatform>
12
    <SiteUrlToLaunchAfterPublish />
13
    <LaunchSiteAfterPublish>True</LaunchSiteAfterPublish>
14
    <ExcludeApp_Data>False</ExcludeApp_Data>
15
    <publishUrl>D:\WebSites\ImageUpload</publishUrl>
16
    <DeleteExistingFiles>False</DeleteExistingFiles>
17
  </PropertyGroup>
18
</Project>
FileSave/FileUploadWevService/Properties/PublishProfiles/FolderProfile.pubxml.user
1
<?xml version="1.0" encoding="utf-8"?>
2
<!--
3
This file is used by the publish/package process of your Web project. You can customize the behavior of this process
4
by editing this MSBuild file. In order to learn more about this please visit https://go.microsoft.com/fwlink/?LinkID=208121. 
5
-->
6
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
7
  <PropertyGroup>
8
    <TimeStampOfAssociatedLegacyPublishXmlFile />
9
    <_PublishTargetUrl>D:\WebSites\ImageUpload</_PublishTargetUrl>
10
  </PropertyGroup>
11
  <ItemGroup>
12
    <File Include="bin/FileUploadWevService.dll">
13
      <publishTime>11/28/2018 12:50:01</publishTime>
14
    </File>
15
    <File Include="bin/FileUploadWevService.pdb">
16
      <publishTime>11/28/2018 12:50:01</publishTime>
17
    </File>
18
    <File Include="bin/KCOMDataModel.dll">
19
      <publishTime>11/28/2018 12:50:00</publishTime>
20
    </File>
21
    <File Include="bin/KCOMDataModel.dll.config">
22
      <publishTime>11/02/2018 08:52:50</publishTime>
23
    </File>
24
    <File Include="bin/KCOMDataModel.pdb">
25
      <publishTime>11/28/2018 12:50:00</publishTime>
26
    </File>
27
    <File Include="FileUpload.asmx">
28
      <publishTime>05/21/2018 15:41:50</publishTime>
29
    </File>
30
    <File Include="Web.config">
31
      <publishTime>11/28/2018 12:50:02</publishTime>
32
    </File>
33
  </ItemGroup>
34
</Project>
FileSave/FileUploadWevService/Web.Debug.config
1
<?xml version="1.0" encoding="utf-8"?>
2

  
3
<!-- web.config 변환 사용에 대한 자세한 내용은 https://go.microsoft.com/fwlink/?LinkId=125889를 참조하세요. -->
4

  
5
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
6
  <!--
7
    아래 예에서, "Match" 로케이터가 "MyDB" 값을 가진 "name" 특성을 
8
 찾은 경우에만 "SetAttributes" 변환에서 "ReleaseSQLServer"를 
9
 사용하도록 "connectionString"의 값을 변경합니다.
10
    
11
    <connectionStrings>
12
      <add name="MyDB" 
13
        connectionString="Data Source=ReleaseSQLServer;Initial Catalog=MyReleaseDB;Integrated Security=True" 
14
        xdt:Transform="SetAttributes" xdt:Locator="Match(name)"/>
15
    </connectionStrings>
16
  -->
17
  <system.web>
18
    <!--
19
      
20
      아래 예에서 "Replace" 변환은 web.config 파일의 
21
      <customErrors> 섹션 전체를 바꿉니다.
22
      <system.web> 노드 아래에는 customErrors 섹션이 하나만 있기 때문에 
23
      "xdt:Locator" 특성을 사용할 필요가 없습니다.
24
      
25
      <customErrors defaultRedirect="GenericError.htm"
26
        mode="RemoteOnly" xdt:Transform="Replace">
27
        <error statusCode="500" redirect="InternalError.htm"/>
28
      </customErrors>
29
    >
30
    -->
31
  </system.web>
32
</configuration>
FileSave/FileUploadWevService/Web.Release.config
1
<?xml version="1.0" encoding="utf-8"?>
2

  
3
<!-- web.config 변환 사용에 대한 자세한 내용은 https://go.microsoft.com/fwlink/?LinkId=125889를 참조하세요. -->
4

  
5
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
6
  <!--
7
    아래 예에서, "Match" 로케이터가 "MyDB" 값을 가진 "name" 특성을 
8
 찾은 경우에만 "SetAttributes" 변환에서 "ReleaseSQLServer"를 
9
 사용하도록 "connectionString"의 값을 변경합니다.
10
    
11
    <connectionStrings>
12
      <add name="MyDB" 
13
        connectionString="Data Source=ReleaseSQLServer;Initial Catalog=MyReleaseDB;Integrated Security=True" 
14
        xdt:Transform="SetAttributes" xdt:Locator="Match(name)"/>
15
    </connectionStrings>
16
  -->
17
  <system.web>
18
    <compilation xdt:Transform="RemoveAttributes(debug)" />
19
    <!--
20
      
21
      아래 예에서 "Replace" 변환은 web.config 파일의 
22
      <customErrors> 섹션 전체를 바꿉니다.
23
      <system.web> 노드 아래에는 customErrors 섹션이 하나만 있기 때문에 
24
      "xdt:Locator" 특성을 사용할 필요가 없습니다.
25
      
26
      <customErrors defaultRedirect="GenericError.htm"
27
        mode="RemoteOnly" xdt:Transform="Replace">
28
        <error statusCode="500" redirect="InternalError.htm"/>
29
      </customErrors>
30
    >
31
    -->
32
  </system.web>
33
</configuration>
FileSave/FileUploadWevService/Web.config
1
<?xml version="1.0" encoding="utf-8"?>
2

  
3
<!--
4
  ASP.NET 응용 프로그램을 구성하는 방법에 대한 자세한 내용은 다음을 참조하세요.
5
  https://go.microsoft.com/fwlink/?LinkId=169433
6
  -->
7

  
8
<configuration>
9
    <system.web>
10
      <compilation debug="true" targetFramework="4.0" />
11
    </system.web>
12

  
13
</configuration>
FileSave/FileUploadWevService/obj/Debug/FileUploadWevService.csproj.FileListAbsolute.txt
1
c:\Users\강인구님\documents\visual studio 2017\Projects\FileSave\FileUploadWevService\bin\FileUploadWevService.dll.config
2
c:\Users\강인구님\documents\visual studio 2017\Projects\FileSave\FileUploadWevService\bin\FileUploadWevService.dll
3
c:\Users\강인구님\documents\visual studio 2017\Projects\FileSave\FileUploadWevService\bin\FileUploadWevService.pdb
4
c:\Users\강인구님\documents\visual studio 2017\Projects\FileSave\FileUploadWevService\obj\Debug\FileUploadWevService.csproj.CoreCompileInputs.cache
5
c:\Users\강인구님\documents\visual studio 2017\Projects\FileSave\FileUploadWevService\obj\Debug\FileUploadWevService.dll
6
c:\Users\강인구님\documents\visual studio 2017\Projects\FileSave\FileUploadWevService\obj\Debug\FileUploadWevService.pdb
7
D:\Project\FileSave\FileUploadWevService\bin\FileUploadWevService.dll.config
8
D:\Project\FileSave\FileUploadWevService\bin\FileUploadWevService.dll
9
D:\Project\FileSave\FileUploadWevService\bin\FileUploadWevService.pdb
10
D:\Project\FileSave\FileUploadWevService\bin\KCOMDataModel.dll
11
D:\Project\FileSave\FileUploadWevService\bin\KCOMDataModel.pdb
12
D:\Project\FileSave\FileUploadWevService\bin\KCOMDataModel.dll.config
13
D:\Project\FileSave\FileUploadWevService\obj\Debug\FileUploadWevService.csprojAssemblyReference.cache
14
D:\Project\FileSave\FileUploadWevService\obj\Debug\FileUploadWevService.csproj.CoreCompileInputs.cache
15
D:\Project\FileSave\FileUploadWevService\obj\Debug\FileUploadWevService.csproj.CopyComplete
16
D:\Project\FileSave\FileUploadWevService\obj\Debug\FileUploadWevService.dll
17
D:\Project\FileSave\FileUploadWevService\obj\Debug\FileUploadWevService.pdb
18
D:\workplace\FileSave\FileUploadWevService\obj\Debug\FileUploadWevService.csprojResolveAssemblyReference.cache
19
D:\workplace\FileSave\FileUploadWevService\obj\Debug\FileUploadWevService.csproj.CoreCompileInputs.cache
20
D:\workplace\FileSave\FileUploadWevService\obj\Debug\FileUploadWevService.dll
21
D:\workplace\FileSave\FileUploadWevService\obj\Debug\FileUploadWevService.pdb
22
D:\workplace\FileSave\FileUploadWevService\bin\FileUploadWevService.dll.config
23
D:\workplace\FileSave\FileUploadWevService\bin\FileUploadWevService.dll
24
D:\workplace\FileSave\FileUploadWevService\bin\FileUploadWevService.pdb
25
D:\workplace\FileSave\FileUploadWevService\bin\KCOMDataModel.dll
26
D:\workplace\FileSave\FileUploadWevService\bin\KCOMDataModel.pdb
27
D:\workplace\FileSave\FileUploadWevService\bin\KCOMDataModel.dll.config
28
D:\workplace\FileSave\FileUploadWevService\obj\Debug\FileUploadWevService.csproj.CopyComplete
FileSave/FileUploadWevService/obj/Release/FileUploadWevService.csproj.FileListAbsolute.txt
1
D:\Project\FileSave\FileUploadWevService\bin\FileUploadWevService.dll.config
2
D:\Project\FileSave\FileUploadWevService\bin\FileUploadWevService.dll
3
D:\Project\FileSave\FileUploadWevService\bin\FileUploadWevService.pdb
4
D:\Project\FileSave\FileUploadWevService\bin\KCOMDataModel.dll
5
D:\Project\FileSave\FileUploadWevService\bin\KCOMDataModel.pdb
6
D:\Project\FileSave\FileUploadWevService\bin\KCOMDataModel.dll.config
7
D:\Project\FileSave\FileUploadWevService\obj\Release\FileUploadWevService.csprojAssemblyReference.cache
8
D:\Project\FileSave\FileUploadWevService\obj\Release\FileUploadWevService.csproj.CoreCompileInputs.cache
9
D:\Project\FileSave\FileUploadWevService\obj\Release\FileUploadWevService.csproj.CopyComplete
10
D:\Project\FileSave\FileUploadWevService\obj\Release\FileUploadWevService.dll
11
D:\Project\FileSave\FileUploadWevService\obj\Release\FileUploadWevService.pdb
12
D:\workplace\FileSave\FileUploadWevService\bin\FileUploadWevService.dll.config
13
D:\workplace\FileSave\FileUploadWevService\bin\FileUploadWevService.dll
14
D:\workplace\FileSave\FileUploadWevService\bin\FileUploadWevService.pdb
15
D:\workplace\FileSave\FileUploadWevService\bin\KCOMDataModel.dll
16
D:\workplace\FileSave\FileUploadWevService\bin\KCOMDataModel.pdb
17
D:\workplace\FileSave\FileUploadWevService\bin\KCOMDataModel.dll.config
18
D:\workplace\FileSave\FileUploadWevService\obj\Release\FileUploadWevService.csprojResolveAssemblyReference.cache
19
D:\workplace\FileSave\FileUploadWevService\obj\Release\FileUploadWevService.csproj.CoreCompileInputs.cache
20
D:\workplace\FileSave\FileUploadWevService\obj\Release\FileUploadWevService.csproj.CopyComplete
21
D:\workplace\FileSave\FileUploadWevService\obj\Release\FileUploadWevService.dll
22
D:\workplace\FileSave\FileUploadWevService\obj\Release\FileUploadWevService.pdb
FileSave/FileUploadWevService/obj/Release/Package/PackageTmp/FileUpload.asmx
1
<%@ WebService Language="C#" CodeBehind="FileUpload.asmx.cs" Class="FileUploadWevService.FileUpload" %>
FileSave/KCOMDataModel/App.Config
1
<?xml version="1.0" encoding="utf-8"?>
2
<configuration>
3
  <configSections>
4
    <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
5
    <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=4.4.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
6
    <sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
7
      <section name="KCOMDataModel.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
8
    </sectionGroup>
9
  </configSections>
10
  <connectionStrings>
11
    <add name="KCOMEntities"
12
         connectionString="metadata=res://*/DataModel.KCOM_Model.csdl|res://*/DataModel.KCOM_Model.ssdl|res://*/DataModel.KCOM_Model.msl;provider=System.Data.SqlClient;provider connection string=&quot;data source=cloud.devdoftech.co.kr,7777;initial catalog=markus;persist security info=True;user id=doftech;password=dof1073#;multipleactiveresultsets=True;application name=EntityFramework&quot;"
13
         providerName="System.Data.EntityClient" />
14
    <add name="CIEntities" 
15
         connectionString="metadata=res://*/DataModel.CIModel.csdl|res://*/DataModel.CIModel.ssdl|res://*/DataModel.CIModel.msl;provider=System.Data.SqlClient;provider connection string=&quot;data source=cloud.devdoftech.co.kr,7777;initial catalog=markus;user id=doftech;password=dof1073#;MultipleActiveResultSets=True;App=EntityFramework&quot;" 
16
         providerName="System.Data.EntityClient" />
17
    <!--<add name="KCOMEntities"
18
     connectionString="metadata=res://*/DataModel.KCOM_Model.csdl|res://*/DataModel.KCOM_Model.ssdl|res://*/DataModel.KCOM_Model.msl;provider=System.Data.SqlClient;provider connection string=&quot;data source=10.11.252.2;initial catalog=markus;persist security info=True;user id=ProjectPortalDBConn;password=ProjectPortalDBConn;multipleactiveresultsets=True;application name=EntityFramework&quot;"
19
     providerName="System.Data.EntityClient" />
20
    <add name="CIEntities"
21
         connectionString="metadata=res://*/DataModel.CIModel.csdl|res://*/DataModel.CIModel.ssdl|res://*/DataModel.CIModel.msl;provider=System.Data.SqlClient;provider connection string=&quot;data source=10.11.252.2;initial catalog=markus;user id=ProjectPortalDBConn;password=ProjectPortalDBConn;MultipleActiveResultSets=True;App=EntityFramework&quot;"
22
         providerName="System.Data.EntityClient" />-->
23
  </connectionStrings>
24
  <entityFramework>
25
    <defaultConnectionFactory type="System.Data.Entity.Infrastructure.LocalDbConnectionFactory, EntityFramework">
26
      <parameters>
27
        <parameter value="v13.0" />
28
      </parameters>
29
    </defaultConnectionFactory>
30
  </entityFramework>
31
  <applicationSettings>
32
    <KCOMDataModel.Properties.Settings>
33
      <setting name="ProjectConnectionString" serializeAs="String">
34
        <value>data source=cloud.devdoftech.co.kr,7777;database={0};user id=doftech;password=dof1073#</value>
35
        <!--<value>data source=10.11.252.3;database={0};user id=ProjectPortalDBConn;password=ProjectPortalDBConn</value>-->
36
      </setting>
37
    </KCOMDataModel.Properties.Settings>
38
  </applicationSettings>
39
</configuration>
FileSave/KCOMDataModel/Common/ConnectStringBuilder.cs
1
using System;
2
using System.Collections.Generic;
3
using System.Data.EntityClient;
4
using System.Data.SqlClient;
5
using System.Linq;
6
using System.Text;
7

  
8
namespace KCOMDataModel.Common
9
{
10
    public class ConnectStringBuilder
11
    {
12
        private const string InitialCatalogString = "InitialCatalog";
13
        private const string providerName = "System.Data.SqlClient";
14
        //private const string providerName = "MS.Data.MySqlClient"; //MYSQL 일때 사용
15
        private const string DeepViewMeta = @"res://*/DataModel.KCOM_Model.csdl|res://*/DataModel.KCOM_Model.ssdl|res://*/DataModel.KCOM_Model.msl";
16
        private const string CIMeta = @"res://*/DataModel.CIModel.csdl|res://*/DataModel.CIModel.ssdl|res://*/DataModel.CIModel.msl";
17
        
18

  
19
        public static EntityConnectionStringBuilder KCOMConnectionString()
20
        {
21
            SqlConnectionStringBuilder _bl = new SqlConnectionStringBuilder(string.Format(Properties.Settings.Default.ProjectConnectionString, "markus"));
22
            return EntityConnectionStringBuilder(_bl, DeepViewMeta);
23
        }
24
        public static EntityConnectionStringBuilder ProjectCIConnectString(string ProjectNo)
25
        {
26
            return CIConnectionStringBuilder(Properties.Settings.Default.ProjectConnectionString, ProjectNo, CIMeta);
27
        }
28

  
29
        private static EntityConnectionStringBuilder CIConnectionStringBuilder(string adoConnectionString, string ProjectNo, string Metadata)
30
        {
31
            try
32
            {
33
                SqlConnectionStringBuilder bl = new SqlConnectionStringBuilder(string.Format(Properties.Settings.Default.ProjectConnectionString, "markus"));
34

  
35
                using (DataModel.KCOMEntities entity
36
                    = new DataModel.KCOMEntities(EntityConnectionStringBuilder(bl, DeepViewMeta).ToString()))
37
                {
38
                    var _catalog = entity.PROPERTIES.Where(property => property.TYPE == InitialCatalogString
39
                                                                        /*&& property.PROPERTY == ProjectNo*/);
40
                    EntityConnectionStringBuilder builder = null;
41
                    if (_catalog.Count() > 0)
42
                    {
43
                        string _ConnectionString = string.Format(adoConnectionString, _catalog.First().VALUE);
44
                        SqlConnectionStringBuilder sqlBuilder = new SqlConnectionStringBuilder(_ConnectionString);
45

  
46
                        builder = ConnectStringBuilder.EntityConnectionStringBuilder(sqlBuilder, Metadata);
47
                    }
48

  
49
                    return builder;
50
                }
51
            }
52
            catch (Exception ex)
53
            {
54
                System.Diagnostics.Debug.WriteLine(ex.ToString());
55
            }
56

  
57
            return null;
58
        }
59

  
60
        private static EntityConnectionStringBuilder EntityConnectionStringBuilder(SqlConnectionStringBuilder SqlStringBuilder, string EntityMetaData)
61
        {
62
            string providerString = SqlStringBuilder.ToString();
63

  
64
            EntityConnectionStringBuilder entityBuilder = new EntityConnectionStringBuilder();
65

  
66
            entityBuilder.Provider = providerName;
67
            entityBuilder.ProviderConnectionString = providerString;
68
            entityBuilder.Metadata = EntityMetaData;
69
            Console.WriteLine(entityBuilder.ToString());
70

  
71
            using (EntityConnection conn =
72
                new EntityConnection(entityBuilder.ToString()))
73
            {
74
                conn.Open();
75
                Console.WriteLine("Just testing the connection.");
76
                conn.Close();
77
            }
78

  
79
            return entityBuilder;
80
        }
81
    }
82
}
FileSave/KCOMDataModel/DataModel/CIModel.Designer.cs
1
//------------------------------------------------------------------------------
2
// <auto-generated>
3
//    이 코드는 템플릿에서 생성되었습니다.
4
//
5
//    이 파일을 수동으로 변경하면 응용 프로그램에 예기치 않은 동작이 발생할 수 있습니다.
6
//    코드가 다시 생성되면 이 파일에 대한 수동 변경 사항을 덮어씁니다.
7
// </auto-generated>
8
//------------------------------------------------------------------------------
9

  
10
using System;
11
using System.ComponentModel;
12
using System.Data.EntityClient;
13
using System.Data.Objects;
14
using System.Data.Objects.DataClasses;
15
using System.Linq;
16
using System.Runtime.Serialization;
17
using System.Xml.Serialization;
18

  
19
[assembly: EdmSchemaAttribute()]
20
#region EDM 관계 메타데이터
21

  
22
[assembly: EdmRelationshipAttribute("CIModel", "FK_DOCINFODOFPAGE", "DOCINFO", System.Data.Metadata.Edm.RelationshipMultiplicity.One, typeof(KCOMDataModel.DataModel.DOCINFO), "DOCPAGE", System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(KCOMDataModel.DataModel.DOCPAGE), true)]
23
[assembly: EdmRelationshipAttribute("CIModel", "FK_DOCINFOMARKUPINFO", "DOCINFO", System.Data.Metadata.Edm.RelationshipMultiplicity.One, typeof(KCOMDataModel.DataModel.DOCINFO), "MARKUP_INFO", System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(KCOMDataModel.DataModel.MARKUP_INFO), true)]
24
[assembly: EdmRelationshipAttribute("CIModel", "FK_MARKUPINFO_VERSIONMARKUPDATA", "MARKUP_INFO_VERSION", System.Data.Metadata.Edm.RelationshipMultiplicity.One, typeof(KCOMDataModel.DataModel.MARKUP_INFO_VERSION), "MARKUP_DATA", System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(KCOMDataModel.DataModel.MARKUP_DATA), true)]
25
[assembly: EdmRelationshipAttribute("CIModel", "FK_MARKUPINFOMARKUPINFO_VERSION", "MARKUP_INFO", System.Data.Metadata.Edm.RelationshipMultiplicity.One, typeof(KCOMDataModel.DataModel.MARKUP_INFO), "MARKUP_INFO_VERSION", System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(KCOMDataModel.DataModel.MARKUP_INFO_VERSION), true)]
26
[assembly: EdmRelationshipAttribute("CIModel", "FK_SIGNINFO_MEMBER", "MEMBER", System.Data.Metadata.Edm.RelationshipMultiplicity.One, typeof(KCOMDataModel.DataModel.MEMBER), "SIGN_INFO", System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(KCOMDataModel.DataModel.SIGN_INFO), true)]
27

  
28
#endregion
29

  
30
namespace KCOMDataModel.DataModel
31
{
32
    #region 컨텍스트
33
    
34
    /// <summary>
35
    /// 사용 가능한 메타데이터 설명서가 없습니다.
36
    /// </summary>
37
    public partial class CIEntities : ObjectContext
38
    {
39
        #region 생성자
40
    
41
        /// <summary>
42
        /// 응용 프로그램 구성 파일의 'CIEntities' 섹션에서 검색된 연결 문자열을 사용하여 새 CIEntities 개체를 초기화합니다.
43
        /// </summary>
44
        public CIEntities() : base("name=CIEntities", "CIEntities")
45
        {
46
            this.ContextOptions.LazyLoadingEnabled = true;
47
            OnContextCreated();
48
        }
49
    
50
        /// <summary>
51
        /// 새 CIEntities 개체를 초기화합니다.
52
        /// </summary>
53
        public CIEntities(string connectionString) : base(connectionString, "CIEntities")
54
        {
55
            this.ContextOptions.LazyLoadingEnabled = true;
56
            OnContextCreated();
57
        }
58
    
59
        /// <summary>
60
        /// 새 CIEntities 개체를 초기화합니다.
61
        /// </summary>
62
        public CIEntities(EntityConnection connection) : base(connection, "CIEntities")
63
        {
64
            this.ContextOptions.LazyLoadingEnabled = true;
65
            OnContextCreated();
66
        }
67
    
68
        #endregion
69
    
70
        #region 부분 메서드(Partial Method)
71
    
72
        partial void OnContextCreated();
73
    
74
        #endregion
75
    
76
        #region ObjectSet 속성
77
    
78
        /// <summary>
79
        /// 사용 가능한 메타데이터 설명서가 없습니다.
80
        /// </summary>
81
        public ObjectSet<DOCUMENT_ITEM> DOCUMENT_ITEM
82
        {
83
            get
84
            {
85
                if ((_DOCUMENT_ITEM == null))
86
                {
87
                    _DOCUMENT_ITEM = base.CreateObjectSet<DOCUMENT_ITEM>("DOCUMENT_ITEM");
88
                }
89
                return _DOCUMENT_ITEM;
90
            }
91
        }
92
        private ObjectSet<DOCUMENT_ITEM> _DOCUMENT_ITEM;
93
    
94
        /// <summary>
95
        /// 사용 가능한 메타데이터 설명서가 없습니다.
96
        /// </summary>
97
        public ObjectSet<DOCINFO> DOCINFO
98
        {
99
            get
100
            {
101
                if ((_DOCINFO == null))
102
                {
103
                    _DOCINFO = base.CreateObjectSet<DOCINFO>("DOCINFO");
104
                }
105
                return _DOCINFO;
106
            }
107
        }
108
        private ObjectSet<DOCINFO> _DOCINFO;
109
    
110
        /// <summary>
111
        /// 사용 가능한 메타데이터 설명서가 없습니다.
112
        /// </summary>
113
        public ObjectSet<DOCPAGE> DOCPAGE
114
        {
115
            get
116
            {
117
                if ((_DOCPAGE == null))
118
                {
119
                    _DOCPAGE = base.CreateObjectSet<DOCPAGE>("DOCPAGE");
120
                }
121
                return _DOCPAGE;
122
            }
123
        }
124
        private ObjectSet<DOCPAGE> _DOCPAGE;
125
    
126
        /// <summary>
127
        /// 사용 가능한 메타데이터 설명서가 없습니다.
128
        /// </summary>
129
        public ObjectSet<MARKUP_DATA> MARKUP_DATA
130
        {
131
            get
132
            {
133
                if ((_MARKUP_DATA == null))
134
                {
135
                    _MARKUP_DATA = base.CreateObjectSet<MARKUP_DATA>("MARKUP_DATA");
136
                }
137
                return _MARKUP_DATA;
138
            }
139
        }
140
        private ObjectSet<MARKUP_DATA> _MARKUP_DATA;
141
    
142
        /// <summary>
143
        /// 사용 가능한 메타데이터 설명서가 없습니다.
144
        /// </summary>
145
        public ObjectSet<MARKUP_INFO> MARKUP_INFO
146
        {
147
            get
148
            {
149
                if ((_MARKUP_INFO == null))
150
                {
151
                    _MARKUP_INFO = base.CreateObjectSet<MARKUP_INFO>("MARKUP_INFO");
152
                }
153
                return _MARKUP_INFO;
154
            }
155
        }
156
        private ObjectSet<MARKUP_INFO> _MARKUP_INFO;
157
    
158
        /// <summary>
159
        /// 사용 가능한 메타데이터 설명서가 없습니다.
160
        /// </summary>
161
        public ObjectSet<MARKUP_INFO_VERSION> MARKUP_INFO_VERSION
162
        {
163
            get
164
            {
165
                if ((_MARKUP_INFO_VERSION == null))
166
                {
167
                    _MARKUP_INFO_VERSION = base.CreateObjectSet<MARKUP_INFO_VERSION>("MARKUP_INFO_VERSION");
168
                }
169
                return _MARKUP_INFO_VERSION;
170
            }
171
        }
172
        private ObjectSet<MARKUP_INFO_VERSION> _MARKUP_INFO_VERSION;
173
    
174
        /// <summary>
175
        /// 사용 가능한 메타데이터 설명서가 없습니다.
176
        /// </summary>
177
        public ObjectSet<MARKUP_CHECKLIST> MARKUP_CHECKLIST
178
        {
179
            get
180
            {
181
                if ((_MARKUP_CHECKLIST == null))
182
                {
183
                    _MARKUP_CHECKLIST = base.CreateObjectSet<MARKUP_CHECKLIST>("MARKUP_CHECKLIST");
184
                }
185
                return _MARKUP_CHECKLIST;
186
            }
187
        }
188
        private ObjectSet<MARKUP_CHECKLIST> _MARKUP_CHECKLIST;
189
    
190
        /// <summary>
191
        /// 사용 가능한 메타데이터 설명서가 없습니다.
192
        /// </summary>
193
        public ObjectSet<MEMBER> MEMBER
194
        {
195
            get
196
            {
197
                if ((_MEMBER == null))
198
                {
199
                    _MEMBER = base.CreateObjectSet<MEMBER>("MEMBER");
200
                }
201
                return _MEMBER;
202
            }
203
        }
204
        private ObjectSet<MEMBER> _MEMBER;
205
    
206
        /// <summary>
207
        /// 사용 가능한 메타데이터 설명서가 없습니다.
208
        /// </summary>
209
        public ObjectSet<SIGN_INFO> SIGN_INFO
210
        {
211
            get
212
            {
213
                if ((_SIGN_INFO == null))
214
                {
215
                    _SIGN_INFO = base.CreateObjectSet<SIGN_INFO>("SIGN_INFO");
216
                }
217
                return _SIGN_INFO;
218
            }
219
        }
220
        private ObjectSet<SIGN_INFO> _SIGN_INFO;
221
    
222
        /// <summary>
223
        /// 사용 가능한 메타데이터 설명서가 없습니다.
224
        /// </summary>
225
        public ObjectSet<TALK> TALK
226
        {
227
            get
228
            {
229
                if ((_TALK == null))
230
                {
231
                    _TALK = base.CreateObjectSet<TALK>("TALK");
232
                }
233
                return _TALK;
234
            }
235
        }
236
        private ObjectSet<TALK> _TALK;
237
    
238
        /// <summary>
239
        /// 사용 가능한 메타데이터 설명서가 없습니다.
240
        /// </summary>
241
        public ObjectSet<CHECK_LIST> CHECK_LIST
242
        {
243
            get
244
            {
245
                if ((_CHECK_LIST == null))
246
                {
247
                    _CHECK_LIST = base.CreateObjectSet<CHECK_LIST>("CHECK_LIST");
248
                }
249
                return _CHECK_LIST;
250
            }
251
        }
252
        private ObjectSet<CHECK_LIST> _CHECK_LIST;
253
    
254
        /// <summary>
255
        /// 사용 가능한 메타데이터 설명서가 없습니다.
256
        /// </summary>
257
        public ObjectSet<CHECK_LIST_HISTORY> CHECK_LIST_HISTORY
258
        {
259
            get
260
            {
261
                if ((_CHECK_LIST_HISTORY == null))
262
                {
263
                    _CHECK_LIST_HISTORY = base.CreateObjectSet<CHECK_LIST_HISTORY>("CHECK_LIST_HISTORY");
264
                }
265
                return _CHECK_LIST_HISTORY;
266
            }
267
        }
268
        private ObjectSet<CHECK_LIST_HISTORY> _CHECK_LIST_HISTORY;
269

  
270
        #endregion
271

  
272
        #region AddTo 메서드
273
    
274
        /// <summary>
275
        /// DOCUMENT_ITEM EntitySet에 새 개체를 추가하는 데 사용되지 않는 메서드입니다. 연결된 ObjectSet&lt;T&gt; 속성의 .Add 메서드를 대신 사용하십시오.
276
        /// </summary>
277
        public void AddToDOCUMENT_ITEM(DOCUMENT_ITEM dOCUMENT_ITEM)
278
        {
279
            base.AddObject("DOCUMENT_ITEM", dOCUMENT_ITEM);
280
        }
281
    
282
        /// <summary>
283
        /// DOCINFO EntitySet에 새 개체를 추가하는 데 사용되지 않는 메서드입니다. 연결된 ObjectSet&lt;T&gt; 속성의 .Add 메서드를 대신 사용하십시오.
284
        /// </summary>
285
        public void AddToDOCINFO(DOCINFO dOCINFO)
286
        {
287
            base.AddObject("DOCINFO", dOCINFO);
288
        }
289
    
290
        /// <summary>
291
        /// DOCPAGE EntitySet에 새 개체를 추가하는 데 사용되지 않는 메서드입니다. 연결된 ObjectSet&lt;T&gt; 속성의 .Add 메서드를 대신 사용하십시오.
292
        /// </summary>
293
        public void AddToDOCPAGE(DOCPAGE dOCPAGE)
294
        {
295
            base.AddObject("DOCPAGE", dOCPAGE);
296
        }
297
    
298
        /// <summary>
299
        /// MARKUP_DATA EntitySet에 새 개체를 추가하는 데 사용되지 않는 메서드입니다. 연결된 ObjectSet&lt;T&gt; 속성의 .Add 메서드를 대신 사용하십시오.
300
        /// </summary>
301
        public void AddToMARKUP_DATA(MARKUP_DATA mARKUP_DATA)
302
        {
303
            base.AddObject("MARKUP_DATA", mARKUP_DATA);
304
        }
305
    
306
        /// <summary>
307
        /// MARKUP_INFO EntitySet에 새 개체를 추가하는 데 사용되지 않는 메서드입니다. 연결된 ObjectSet&lt;T&gt; 속성의 .Add 메서드를 대신 사용하십시오.
308
        /// </summary>
309
        public void AddToMARKUP_INFO(MARKUP_INFO mARKUP_INFO)
310
        {
311
            base.AddObject("MARKUP_INFO", mARKUP_INFO);
312
        }
313
    
314
        /// <summary>
315
        /// MARKUP_INFO_VERSION EntitySet에 새 개체를 추가하는 데 사용되지 않는 메서드입니다. 연결된 ObjectSet&lt;T&gt; 속성의 .Add 메서드를 대신 사용하십시오.
316
        /// </summary>
317
        public void AddToMARKUP_INFO_VERSION(MARKUP_INFO_VERSION mARKUP_INFO_VERSION)
318
        {
319
            base.AddObject("MARKUP_INFO_VERSION", mARKUP_INFO_VERSION);
320
        }
321
    
322
        /// <summary>
323
        /// MARKUP_CHECKLIST EntitySet에 새 개체를 추가하는 데 사용되지 않는 메서드입니다. 연결된 ObjectSet&lt;T&gt; 속성의 .Add 메서드를 대신 사용하십시오.
324
        /// </summary>
325
        public void AddToMARKUP_CHECKLIST(MARKUP_CHECKLIST mARKUP_CHECKLIST)
326
        {
327
            base.AddObject("MARKUP_CHECKLIST", mARKUP_CHECKLIST);
328
        }
329
    
330
        /// <summary>
331
        /// MEMBER EntitySet에 새 개체를 추가하는 데 사용되지 않는 메서드입니다. 연결된 ObjectSet&lt;T&gt; 속성의 .Add 메서드를 대신 사용하십시오.
332
        /// </summary>
333
        public void AddToMEMBER(MEMBER mEMBER)
334
        {
335
            base.AddObject("MEMBER", mEMBER);
336
        }
337
    
338
        /// <summary>
339
        /// SIGN_INFO EntitySet에 새 개체를 추가하는 데 사용되지 않는 메서드입니다. 연결된 ObjectSet&lt;T&gt; 속성의 .Add 메서드를 대신 사용하십시오.
340
        /// </summary>
341
        public void AddToSIGN_INFO(SIGN_INFO sIGN_INFO)
342
        {
343
            base.AddObject("SIGN_INFO", sIGN_INFO);
344
        }
345
    
346
        /// <summary>
347
        /// TALK EntitySet에 새 개체를 추가하는 데 사용되지 않는 메서드입니다. 연결된 ObjectSet&lt;T&gt; 속성의 .Add 메서드를 대신 사용하십시오.
348
        /// </summary>
349
        public void AddToTALK(TALK tALK)
350
        {
351
            base.AddObject("TALK", tALK);
352
        }
353
    
354
        /// <summary>
355
        /// CHECK_LIST EntitySet에 새 개체를 추가하는 데 사용되지 않는 메서드입니다. 연결된 ObjectSet&lt;T&gt; 속성의 .Add 메서드를 대신 사용하십시오.
356
        /// </summary>
357
        public void AddToCHECK_LIST(CHECK_LIST cHECK_LIST)
358
        {
359
            base.AddObject("CHECK_LIST", cHECK_LIST);
360
        }
361
    
362
        /// <summary>
363
        /// CHECK_LIST_HISTORY EntitySet에 새 개체를 추가하는 데 사용되지 않는 메서드입니다. 연결된 ObjectSet&lt;T&gt; 속성의 .Add 메서드를 대신 사용하십시오.
364
        /// </summary>
365
        public void AddToCHECK_LIST_HISTORY(CHECK_LIST_HISTORY cHECK_LIST_HISTORY)
366
        {
367
            base.AddObject("CHECK_LIST_HISTORY", cHECK_LIST_HISTORY);
368
        }
369

  
370
        #endregion
371

  
372
    }
373

  
374
    #endregion
375

  
376
    #region 엔터티
377
    
378
    /// <summary>
379
    /// 사용 가능한 메타데이터 설명서가 없습니다.
380
    /// </summary>
381
    [EdmEntityTypeAttribute(NamespaceName="CIModel", Name="CHECK_LIST")]
382
    [Serializable()]
383
    [DataContractAttribute(IsReference=true)]
384
    public partial class CHECK_LIST : EntityObject
385
    {
386
        #region 팩터리 메서드
387
    
388
        /// <summary>
389
        /// 새 CHECK_LIST 개체를 만듭니다.
390
        /// </summary>
391
        /// <param name="id">ID 속성의 초기 값입니다.</param>
392
        /// <param name="dOCUMENT_ID">DOCUMENT_ID 속성의 초기 값입니다.</param>
393
        /// <param name="uSER_ID">USER_ID 속성의 초기 값입니다.</param>
394
        /// <param name="rEVISION">REVISION 속성의 초기 값입니다.</param>
395
        /// <param name="pAGENUMBER">PAGENUMBER 속성의 초기 값입니다.</param>
396
        /// <param name="iMAGE_URL">IMAGE_URL 속성의 초기 값입니다.</param>
397
        /// <param name="sTATUS">STATUS 속성의 초기 값입니다.</param>
398
        /// <param name="pROJECT_NO">PROJECT_NO 속성의 초기 값입니다.</param>
399
        /// <param name="iMAGE_ANCHOR">IMAGE_ANCHOR 속성의 초기 값입니다.</param>
400
        public static CHECK_LIST CreateCHECK_LIST(global::System.String id, global::System.String dOCUMENT_ID, global::System.String uSER_ID, global::System.String rEVISION, global::System.Int32 pAGENUMBER, global::System.String iMAGE_URL, global::System.String sTATUS, global::System.String pROJECT_NO, global::System.String iMAGE_ANCHOR)
401
        {
402
            CHECK_LIST cHECK_LIST = new CHECK_LIST();
403
            cHECK_LIST.ID = id;
404
            cHECK_LIST.DOCUMENT_ID = dOCUMENT_ID;
405
            cHECK_LIST.USER_ID = uSER_ID;
406
            cHECK_LIST.REVISION = rEVISION;
407
            cHECK_LIST.PAGENUMBER = pAGENUMBER;
408
            cHECK_LIST.IMAGE_URL = iMAGE_URL;
409
            cHECK_LIST.STATUS = sTATUS;
410
            cHECK_LIST.PROJECT_NO = pROJECT_NO;
411
            cHECK_LIST.IMAGE_ANCHOR = iMAGE_ANCHOR;
412
            return cHECK_LIST;
413
        }
414

  
415
        #endregion
416

  
417
        #region 기본 속성
418
    
419
        /// <summary>
420
        /// 사용 가능한 메타데이터 설명서가 없습니다.
421
        /// </summary>
422
        [EdmScalarPropertyAttribute(EntityKeyProperty=true, IsNullable=false)]
423
        [DataMemberAttribute()]
424
        public global::System.String ID
425
        {
426
            get
427
            {
428
                return _ID;
429
            }
430
            set
431
            {
432
                if (_ID != value)
433
                {
434
                    OnIDChanging(value);
435
                    ReportPropertyChanging("ID");
436
                    _ID = StructuralObject.SetValidValue(value, false);
437
                    ReportPropertyChanged("ID");
438
                    OnIDChanged();
439
                }
440
            }
441
        }
442
        private global::System.String _ID;
443
        partial void OnIDChanging(global::System.String value);
444
        partial void OnIDChanged();
445
    
446
        /// <summary>
447
        /// 사용 가능한 메타데이터 설명서가 없습니다.
448
        /// </summary>
449
        [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)]
450
        [DataMemberAttribute()]
451
        public global::System.String DOCUMENT_ID
452
        {
453
            get
454
            {
455
                return _DOCUMENT_ID;
456
            }
457
            set
458
            {
459
                OnDOCUMENT_IDChanging(value);
460
                ReportPropertyChanging("DOCUMENT_ID");
461
                _DOCUMENT_ID = StructuralObject.SetValidValue(value, false);
462
                ReportPropertyChanged("DOCUMENT_ID");
463
                OnDOCUMENT_IDChanged();
464
            }
465
        }
466
        private global::System.String _DOCUMENT_ID;
467
        partial void OnDOCUMENT_IDChanging(global::System.String value);
468
        partial void OnDOCUMENT_IDChanged();
469
    
470
        /// <summary>
471
        /// 사용 가능한 메타데이터 설명서가 없습니다.
472
        /// </summary>
473
        [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)]
474
        [DataMemberAttribute()]
475
        public global::System.String USER_ID
476
        {
477
            get
478
            {
479
                return _USER_ID;
480
            }
481
            set
482
            {
483
                OnUSER_IDChanging(value);
484
                ReportPropertyChanging("USER_ID");
485
                _USER_ID = StructuralObject.SetValidValue(value, false);
486
                ReportPropertyChanged("USER_ID");
487
                OnUSER_IDChanged();
488
            }
489
        }
490
        private global::System.String _USER_ID;
491
        partial void OnUSER_IDChanging(global::System.String value);
492
        partial void OnUSER_IDChanged();
493
    
494
        /// <summary>
495
        /// 사용 가능한 메타데이터 설명서가 없습니다.
496
        /// </summary>
497
        [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)]
498
        [DataMemberAttribute()]
499
        public global::System.String REVISION
500
        {
501
            get
502
            {
503
                return _REVISION;
504
            }
505
            set
506
            {
507
                OnREVISIONChanging(value);
508
                ReportPropertyChanging("REVISION");
509
                _REVISION = StructuralObject.SetValidValue(value, false);
510
                ReportPropertyChanged("REVISION");
511
                OnREVISIONChanged();
512
            }
513
        }
514
        private global::System.String _REVISION;
515
        partial void OnREVISIONChanging(global::System.String value);
516
        partial void OnREVISIONChanged();
517
    
518
        /// <summary>
519
        /// 사용 가능한 메타데이터 설명서가 없습니다.
520
        /// </summary>
521
        [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)]
522
        [DataMemberAttribute()]
523
        public global::System.Int32 PAGENUMBER
524
        {
525
            get
526
            {
527
                return _PAGENUMBER;
528
            }
529
            set
530
            {
531
                OnPAGENUMBERChanging(value);
532
                ReportPropertyChanging("PAGENUMBER");
533
                _PAGENUMBER = StructuralObject.SetValidValue(value);
534
                ReportPropertyChanged("PAGENUMBER");
535
                OnPAGENUMBERChanged();
536
            }
537
        }
538
        private global::System.Int32 _PAGENUMBER;
539
        partial void OnPAGENUMBERChanging(global::System.Int32 value);
540
        partial void OnPAGENUMBERChanged();
541
    
542
        /// <summary>
543
        /// 사용 가능한 메타데이터 설명서가 없습니다.
544
        /// </summary>
545
        [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
546
        [DataMemberAttribute()]
547
        public global::System.String TODOLIST
548
        {
549
            get
550
            {
551
                return _TODOLIST;
552
            }
553
            set
554
            {
555
                OnTODOLISTChanging(value);
556
                ReportPropertyChanging("TODOLIST");
557
                _TODOLIST = StructuralObject.SetValidValue(value, true);
558
                ReportPropertyChanged("TODOLIST");
559
                OnTODOLISTChanged();
560
            }
561
        }
562
        private global::System.String _TODOLIST;
563
        partial void OnTODOLISTChanging(global::System.String value);
564
        partial void OnTODOLISTChanged();
565
    
566
        /// <summary>
567
        /// 사용 가능한 메타데이터 설명서가 없습니다.
568
        /// </summary>
569
        [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)]
570
        [DataMemberAttribute()]
571
        public global::System.String IMAGE_URL
572
        {
573
            get
574
            {
575
                return _IMAGE_URL;
576
            }
577
            set
578
            {
579
                OnIMAGE_URLChanging(value);
580
                ReportPropertyChanging("IMAGE_URL");
581
                _IMAGE_URL = StructuralObject.SetValidValue(value, false);
582
                ReportPropertyChanged("IMAGE_URL");
583
                OnIMAGE_URLChanged();
584
            }
585
        }
586
        private global::System.String _IMAGE_URL;
587
        partial void OnIMAGE_URLChanging(global::System.String value);
588
        partial void OnIMAGE_URLChanged();
589
    
590
        /// <summary>
591
        /// 사용 가능한 메타데이터 설명서가 없습니다.
592
        /// </summary>
593
        [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)]
594
        [DataMemberAttribute()]
595
        public global::System.String STATUS
596
        {
597
            get
598
            {
599
                return _STATUS;
600
            }
601
            set
602
            {
603
                OnSTATUSChanging(value);
604
                ReportPropertyChanging("STATUS");
605
                _STATUS = StructuralObject.SetValidValue(value, false);
606
                ReportPropertyChanged("STATUS");
607
                OnSTATUSChanged();
608
            }
609
        }
610
        private global::System.String _STATUS;
611
        partial void OnSTATUSChanging(global::System.String value);
612
        partial void OnSTATUSChanged();
613
    
614
        /// <summary>
615
        /// 사용 가능한 메타데이터 설명서가 없습니다.
616
        /// </summary>
617
        [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
618
        [DataMemberAttribute()]
619
        public global::System.String VENDOR
620
        {
621
            get
622
            {
623
                return _VENDOR;
624
            }
625
            set
626
            {
627
                OnVENDORChanging(value);
628
                ReportPropertyChanging("VENDOR");
629
                _VENDOR = StructuralObject.SetValidValue(value, true);
630
                ReportPropertyChanged("VENDOR");
631
                OnVENDORChanged();
632
            }
633
        }
634
        private global::System.String _VENDOR;
635
        partial void OnVENDORChanging(global::System.String value);
636
        partial void OnVENDORChanged();
637
    
638
        /// <summary>
639
        /// 사용 가능한 메타데이터 설명서가 없습니다.
640
        /// </summary>
641
        [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
642
        [DataMemberAttribute()]
643
        public global::System.String REMARK
644
        {
645
            get
646
            {
647
                return _REMARK;
648
            }
649
            set
650
            {
651
                OnREMARKChanging(value);
652
                ReportPropertyChanging("REMARK");
653
                _REMARK = StructuralObject.SetValidValue(value, true);
654
                ReportPropertyChanged("REMARK");
655
                OnREMARKChanged();
656
            }
657
        }
658
        private global::System.String _REMARK;
659
        partial void OnREMARKChanging(global::System.String value);
660
        partial void OnREMARKChanged();
661
    
662
        /// <summary>
663
        /// 사용 가능한 메타데이터 설명서가 없습니다.
664
        /// </summary>
665
        [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)]
666
        [DataMemberAttribute()]
667
        public global::System.String PROJECT_NO
668
        {
669
            get
670
            {
671
                return _PROJECT_NO;
672
            }
673
            set
674
            {
675
                OnPROJECT_NOChanging(value);
676
                ReportPropertyChanging("PROJECT_NO");
677
                _PROJECT_NO = StructuralObject.SetValidValue(value, false);
678
                ReportPropertyChanged("PROJECT_NO");
679
                OnPROJECT_NOChanged();
680
            }
681
        }
682
        private global::System.String _PROJECT_NO;
683
        partial void OnPROJECT_NOChanging(global::System.String value);
684
        partial void OnPROJECT_NOChanged();
685
    
686
        /// <summary>
687
        /// 사용 가능한 메타데이터 설명서가 없습니다.
688
        /// </summary>
689
        [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
690
        [DataMemberAttribute()]
691
        public global::System.String REV_4
692
        {
693
            get
694
            {
695
                return _REV_4;
696
            }
697
            set
698
            {
699
                OnREV_4Changing(value);
700
                ReportPropertyChanging("REV_4");
701
                _REV_4 = StructuralObject.SetValidValue(value, true);
702
                ReportPropertyChanged("REV_4");
703
                OnREV_4Changed();
704
            }
705
        }
706
        private global::System.String _REV_4;
707
        partial void OnREV_4Changing(global::System.String value);
708
        partial void OnREV_4Changed();
709
    
710
        /// <summary>
711
        /// 사용 가능한 메타데이터 설명서가 없습니다.
712
        /// </summary>
713
        [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
714
        [DataMemberAttribute()]
715
        public global::System.String REV_3
716
        {
717
            get
718
            {
719
                return _REV_3;
720
            }
721
            set
722
            {
723
                OnREV_3Changing(value);
724
                ReportPropertyChanging("REV_3");
725
                _REV_3 = StructuralObject.SetValidValue(value, true);
726
                ReportPropertyChanged("REV_3");
727
                OnREV_3Changed();
728
            }
729
        }
730
        private global::System.String _REV_3;
731
        partial void OnREV_3Changing(global::System.String value);
732
        partial void OnREV_3Changed();
733
    
734
        /// <summary>
735
        /// 사용 가능한 메타데이터 설명서가 없습니다.
736
        /// </summary>
737
        [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
738
        [DataMemberAttribute()]
739
        public global::System.String REV_2
740
        {
... 이 차이점은 표시할 수 있는 최대 줄수를 초과해서 이 차이점은 잘렸습니다.

내보내기 Unified diff

클립보드 이미지 추가 (최대 크기: 500 MB)