|
namespace BTSPracCOurse.BAM.Sample {
using Microsoft.XLANGs.BaseTypes;
[SchemaType(SchemaTypeEnum.Document)]
[Schema(@"http:/www.MoustafaRefaat.com/BTSPracCourse",@"PurchaseOrder")]
[System.SerializableAttribute()]
[SchemaRoots(new string[] {@"PurchaseOrder"})]
public sealed class PurchaseOrderSchema : Microsoft.XLANGs.BaseTypes.SchemaBase {
[System.NonSerializedAttribute()]
private static object _rawSchema;
[System.NonSerializedAttribute()]
private const string _strSchema = @"<?xml version=""1.0"" encoding=""utf-16""?>
<xs:schema xmlns:b=""http://schemas.microsoft.com/BizTalk/2003"" xmlns=""http:/www.MoustafaRefaat.com/BTSPracCourse"" targetNamespace=""http:/www.MoustafaRefaat.com/BTSPracCourse"" xmlns:xs=""http://www.w3.org/2001/XMLSchema"">
<xs:element name=""PurchaseOrder"">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs=""1"" maxOccurs=""1"" name=""Header"">
<xs:complexType>
<xs:attribute default=""0"" name=""ClientID"" type=""xs:int"" />
<xs:attribute default=""0"" name=""SpecialDiscount"" type=""xs:int"" use=""optional"" />
<xs:attribute name=""PurchaseOrderID"" type=""xs:string"" />
<xs:attribute name=""PODate"" type=""xs:dateTime"" />
</xs:complexType>
</xs:element>
<xs:element minOccurs=""1"" maxOccurs=""unbounded"" name=""LineItem"">
<xs:complexType>
<xs:attribute name=""ID"" type=""xs:int"" />
<xs:attribute name=""Quantity"" type=""xs:int"" />
<xs:attribute name=""Price"" type=""xs:int"" use=""optional"" />
<xs:attribute default=""0"" name=""DiscountRate"" type=""xs:int"" use=""optional"" />
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>";
public PurchaseOrderSchema() {
}
public override string XmlContent {
get {
return _strSchema;
}
}
public override string[] RootNodes {
get {
string[] _RootElements = new string [1];
_RootElements[0] = "PurchaseOrder";
return _RootElements;
}
}
protected override object RawSchema {
get {
return _rawSchema;
}
set {
_rawSchema = value;
}
}
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
As a well-established IT leader with a passion for architecture, design, coding, refactoring, and development, I possess 20+ years’ success spearheading large teams to deliver the end-to-end development of 30+ innovative software solutions on time and under budget on a US and international level.
Throughout my career, I have made it my priority to utilize current technologies and new techniques to develop elegant, creative technical solutions across all project phases. Comfortable in collaborative and independently-driven roles, I am a forward-thinking leader with refined analytical and critical thinking skills, and I can adapt and revise my strategies to meet evolving priorities, shifting needs, and emergent issues. As a dynamic leader with experience as Technical Lead and Senior Manager, as well as on the Board of Directors, I have led numerous teams to create a new employees experience with Workday, roadmap for people systems (JDA WFMR, Kronos, Infor, Workday, and monitoring with Splunk), and architecture for 20+ projects at Loblaw. Furthermore, I have spearheaded As a well-established IT leader with a passion for architecture, design, coding, refactoring, and development, I possess 20+ years’ success spearheading large teams to deliver the end-to-end development of 30+ innovative software solutions on time and under budget on a US and international level.
Throughout my career, I have made it my priority to utilize current technologies and new techniques to develop elegant, creative technical solutions across all project phases. Comfortable in collaborative and independently-driven roles, I am a forward-thinking leader with refined analytical and critical thinking skills, and I can adapt and revise my strategies to meet evolving priorities, shifting needs, and emergent issues. As a dynamic leader with experience as Technical Lead and Senior Manager, as well as on the Board of Directors, I have led numerous teams to create a new employees experience with Workday