コード例 #1
0
ファイル: TableModel.cs プロジェクト: isysoi3/ASP.NET
        public ServiceReference.TableModel ConvertToServiceModel()
        {
            List <ServiceReference.Attribute> attributesToWebService = new List <ServiceReference.Attribute>();

            foreach (var attribute in Attributes)
            {
                attributesToWebService.Add(
                    new ServiceReference.Attribute
                {
                    Name = attribute.Name,
                    Type = attribute.Type
                }
                    );
            }

            ServiceReference.TableModel tableModelToWebService = new ServiceReference.TableModel()
            {
                Name = this.Name,
                NumberOfAttributes = this.NumberOfAttributes,
                Attributes         = attributesToWebService.ToArray()
            };
            return(tableModelToWebService);
        }
コード例 #2
0
ファイル: Reference.cs プロジェクト: isysoi3/ASP.NET
 public System.Threading.Tasks.Task <ServiceReference.AddToTableInBDResponse> AddToTableInBDAsync(ServiceReference.TableModel table, ServiceReference.ArrayOfString valuesToInsert)
 {
     ServiceReference.AddToTableInBDRequest inValue = new ServiceReference.AddToTableInBDRequest();
     inValue.Body                = new ServiceReference.AddToTableInBDRequestBody();
     inValue.Body.table          = table;
     inValue.Body.valuesToInsert = valuesToInsert;
     return(((ServiceReference.WebServiceSoap)(this)).AddToTableInBDAsync(inValue));
 }
コード例 #3
0
ファイル: Reference.cs プロジェクト: isysoi3/ASP.NET
 public AddToTableInBDRequestBody(ServiceReference.TableModel table, ServiceReference.ArrayOfString valuesToInsert)
 {
     this.table          = table;
     this.valuesToInsert = valuesToInsert;
 }
コード例 #4
0
ファイル: Reference.cs プロジェクト: isysoi3/ASP.NET
 public System.Threading.Tasks.Task <ServiceReference.CreateTableInBDResponse> CreateTableInBDAsync(ServiceReference.TableModel table)
 {
     ServiceReference.CreateTableInBDRequest inValue = new ServiceReference.CreateTableInBDRequest();
     inValue.Body       = new ServiceReference.CreateTableInBDRequestBody();
     inValue.Body.table = table;
     return(((ServiceReference.WebServiceSoap)(this)).CreateTableInBDAsync(inValue));
 }
コード例 #5
0
ファイル: Reference.cs プロジェクト: isysoi3/ASP.NET
 public CreateTableInBDRequestBody(ServiceReference.TableModel table)
 {
     this.table = table;
 }