00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014 #pragma warning disable 1591
00015
00016 namespace Mcs.Epm.MicrosoftProject.mpFx.CalendarsWebService {
00017 using System.Diagnostics;
00018 using System.Web.Services;
00019 using System.ComponentModel;
00020 using System.Web.Services.Protocols;
00021 using System;
00022 using System.Xml.Serialization;
00023
00024
00025
00026 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
00027 [System.Diagnostics.DebuggerStepThroughAttribute()]
00028 [System.ComponentModel.DesignerCategoryAttribute("code")]
00029 [System.Web.Services.WebServiceBindingAttribute(Name="CalendarSoap", Namespace="http://schemas.microsoft.com/office/project/server/webservices/Calendar/")]
00030 public partial class Calendar : System.Web.Services.Protocols.SoapHttpClientProtocol {
00031
00032 private System.Threading.SendOrPostCallback CheckOutCalendarsOperationCompleted;
00033
00034 private System.Threading.SendOrPostCallback CheckInCalendarsOperationCompleted;
00035
00036 private System.Threading.SendOrPostCallback CreateCalendarsOperationCompleted;
00037
00038 private System.Threading.SendOrPostCallback DeleteCalendarsOperationCompleted;
00039
00040 private System.Threading.SendOrPostCallback ListCalendarsOperationCompleted;
00041
00042 private System.Threading.SendOrPostCallback ReadCalendarsOperationCompleted;
00043
00044 private System.Threading.SendOrPostCallback UpdateCalendarsOperationCompleted;
00045
00046 private bool useDefaultCredentialsSetExplicitly;
00047
00048
00049 public Calendar() {
00050 this.Url = global::Mcs.Epm.MicrosoftProject.mpFx.Properties.Settings.Default.Mcs_Epm_MicrosoftProject_mpFx_CalendarsWebService_Calendar;
00051 if ((this.IsLocalFileSystemWebService(this.Url) == true)) {
00052 this.UseDefaultCredentials = true;
00053 this.useDefaultCredentialsSetExplicitly = false;
00054 }
00055 else {
00056 this.useDefaultCredentialsSetExplicitly = true;
00057 }
00058 }
00059
00060 public new string Url {
00061 get {
00062 return base.Url;
00063 }
00064 set {
00065 if ((((this.IsLocalFileSystemWebService(base.Url) == true)
00066 && (this.useDefaultCredentialsSetExplicitly == false))
00067 && (this.IsLocalFileSystemWebService(value) == false))) {
00068 base.UseDefaultCredentials = false;
00069 }
00070 base.Url = value;
00071 }
00072 }
00073
00074 public new bool UseDefaultCredentials {
00075 get {
00076 return base.UseDefaultCredentials;
00077 }
00078 set {
00079 base.UseDefaultCredentials = value;
00080 this.useDefaultCredentialsSetExplicitly = true;
00081 }
00082 }
00083
00084
00085 public event CheckOutCalendarsCompletedEventHandler CheckOutCalendarsCompleted;
00086
00087
00088 public event CheckInCalendarsCompletedEventHandler CheckInCalendarsCompleted;
00089
00090
00091 public event CreateCalendarsCompletedEventHandler CreateCalendarsCompleted;
00092
00093
00094 public event DeleteCalendarsCompletedEventHandler DeleteCalendarsCompleted;
00095
00096
00097 public event ListCalendarsCompletedEventHandler ListCalendarsCompleted;
00098
00099
00100 public event ReadCalendarsCompletedEventHandler ReadCalendarsCompleted;
00101
00102
00103 public event UpdateCalendarsCompletedEventHandler UpdateCalendarsCompleted;
00104
00105
00106 [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://schemas.microsoft.com/office/project/server/webservices/Calendar/CheckOutC" +
00107 "alendars", RequestNamespace="http://schemas.microsoft.com/office/project/server/webservices/Calendar/", ResponseNamespace="http://schemas.microsoft.com/office/project/server/webservices/Calendar/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
00108 public void CheckOutCalendars(System.Guid[] array) {
00109 this.Invoke("CheckOutCalendars", new object[] {
00110 array});
00111 }
00112
00113
00114 public void CheckOutCalendarsAsync(System.Guid[] array) {
00115 this.CheckOutCalendarsAsync(array, null);
00116 }
00117
00118
00119 public void CheckOutCalendarsAsync(System.Guid[] array, object userState) {
00120 if ((this.CheckOutCalendarsOperationCompleted == null)) {
00121 this.CheckOutCalendarsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnCheckOutCalendarsOperationCompleted);
00122 }
00123 this.InvokeAsync("CheckOutCalendars", new object[] {
00124 array}, this.CheckOutCalendarsOperationCompleted, userState);
00125 }
00126
00127 private void OnCheckOutCalendarsOperationCompleted(object arg) {
00128 if ((this.CheckOutCalendarsCompleted != null)) {
00129 System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
00130 this.CheckOutCalendarsCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
00131 }
00132 }
00133
00134
00135 [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://schemas.microsoft.com/office/project/server/webservices/Calendar/CheckInCa" +
00136 "lendars", RequestNamespace="http://schemas.microsoft.com/office/project/server/webservices/Calendar/", ResponseNamespace="http://schemas.microsoft.com/office/project/server/webservices/Calendar/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
00137 public void CheckInCalendars(System.Guid[] array, bool force) {
00138 this.Invoke("CheckInCalendars", new object[] {
00139 array,
00140 force});
00141 }
00142
00143
00144 public void CheckInCalendarsAsync(System.Guid[] array, bool force) {
00145 this.CheckInCalendarsAsync(array, force, null);
00146 }
00147
00148
00149 public void CheckInCalendarsAsync(System.Guid[] array, bool force, object userState) {
00150 if ((this.CheckInCalendarsOperationCompleted == null)) {
00151 this.CheckInCalendarsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnCheckInCalendarsOperationCompleted);
00152 }
00153 this.InvokeAsync("CheckInCalendars", new object[] {
00154 array,
00155 force}, this.CheckInCalendarsOperationCompleted, userState);
00156 }
00157
00158 private void OnCheckInCalendarsOperationCompleted(object arg) {
00159 if ((this.CheckInCalendarsCompleted != null)) {
00160 System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
00161 this.CheckInCalendarsCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
00162 }
00163 }
00164
00165
00166 [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://schemas.microsoft.com/office/project/server/webservices/Calendar/CreateCal" +
00167 "endars", RequestNamespace="http://schemas.microsoft.com/office/project/server/webservices/Calendar/", ResponseNamespace="http://schemas.microsoft.com/office/project/server/webservices/Calendar/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
00168 public void CreateCalendars(CalendarDataSet calendarDataSet, bool validateOnly, bool autoCheckIn) {
00169 this.Invoke("CreateCalendars", new object[] {
00170 calendarDataSet,
00171 validateOnly,
00172 autoCheckIn});
00173 }
00174
00175
00176 public void CreateCalendarsAsync(CalendarDataSet calendarDataSet, bool validateOnly, bool autoCheckIn) {
00177 this.CreateCalendarsAsync(calendarDataSet, validateOnly, autoCheckIn, null);
00178 }
00179
00180
00181 public void CreateCalendarsAsync(CalendarDataSet calendarDataSet, bool validateOnly, bool autoCheckIn, object userState) {
00182 if ((this.CreateCalendarsOperationCompleted == null)) {
00183 this.CreateCalendarsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnCreateCalendarsOperationCompleted);
00184 }
00185 this.InvokeAsync("CreateCalendars", new object[] {
00186 calendarDataSet,
00187 validateOnly,
00188 autoCheckIn}, this.CreateCalendarsOperationCompleted, userState);
00189 }
00190
00191 private void OnCreateCalendarsOperationCompleted(object arg) {
00192 if ((this.CreateCalendarsCompleted != null)) {
00193 System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
00194 this.CreateCalendarsCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
00195 }
00196 }
00197
00198
00199 [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://schemas.microsoft.com/office/project/server/webservices/Calendar/DeleteCal" +
00200 "endars", RequestNamespace="http://schemas.microsoft.com/office/project/server/webservices/Calendar/", ResponseNamespace="http://schemas.microsoft.com/office/project/server/webservices/Calendar/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
00201 public void DeleteCalendars(System.Guid[] calendarGuids) {
00202 this.Invoke("DeleteCalendars", new object[] {
00203 calendarGuids});
00204 }
00205
00206
00207 public void DeleteCalendarsAsync(System.Guid[] calendarGuids) {
00208 this.DeleteCalendarsAsync(calendarGuids, null);
00209 }
00210
00211
00212 public void DeleteCalendarsAsync(System.Guid[] calendarGuids, object userState) {
00213 if ((this.DeleteCalendarsOperationCompleted == null)) {
00214 this.DeleteCalendarsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnDeleteCalendarsOperationCompleted);
00215 }
00216 this.InvokeAsync("DeleteCalendars", new object[] {
00217 calendarGuids}, this.DeleteCalendarsOperationCompleted, userState);
00218 }
00219
00220 private void OnDeleteCalendarsOperationCompleted(object arg) {
00221 if ((this.DeleteCalendarsCompleted != null)) {
00222 System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
00223 this.DeleteCalendarsCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
00224 }
00225 }
00226
00227
00228 [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://schemas.microsoft.com/office/project/server/webservices/Calendar/ListCalen" +
00229 "dars", RequestNamespace="http://schemas.microsoft.com/office/project/server/webservices/Calendar/", ResponseNamespace="http://schemas.microsoft.com/office/project/server/webservices/Calendar/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
00230 public CalendarDataSet ListCalendars() {
00231 object[] results = this.Invoke("ListCalendars", new object[0]);
00232 return ((CalendarDataSet)(results[0]));
00233 }
00234
00235
00236 public void ListCalendarsAsync() {
00237 this.ListCalendarsAsync(null);
00238 }
00239
00240
00241 public void ListCalendarsAsync(object userState) {
00242 if ((this.ListCalendarsOperationCompleted == null)) {
00243 this.ListCalendarsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnListCalendarsOperationCompleted);
00244 }
00245 this.InvokeAsync("ListCalendars", new object[0], this.ListCalendarsOperationCompleted, userState);
00246 }
00247
00248 private void OnListCalendarsOperationCompleted(object arg) {
00249 if ((this.ListCalendarsCompleted != null)) {
00250 System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
00251 this.ListCalendarsCompleted(this, new ListCalendarsCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
00252 }
00253 }
00254
00255
00256 [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://schemas.microsoft.com/office/project/server/webservices/Calendar/ReadCalen" +
00257 "dars", RequestNamespace="http://schemas.microsoft.com/office/project/server/webservices/Calendar/", ResponseNamespace="http://schemas.microsoft.com/office/project/server/webservices/Calendar/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
00258 public CalendarDataSet ReadCalendars(string filter, bool autoCheckOut) {
00259 object[] results = this.Invoke("ReadCalendars", new object[] {
00260 filter,
00261 autoCheckOut});
00262 return ((CalendarDataSet)(results[0]));
00263 }
00264
00265
00266 public void ReadCalendarsAsync(string filter, bool autoCheckOut) {
00267 this.ReadCalendarsAsync(filter, autoCheckOut, null);
00268 }
00269
00270
00271 public void ReadCalendarsAsync(string filter, bool autoCheckOut, object userState) {
00272 if ((this.ReadCalendarsOperationCompleted == null)) {
00273 this.ReadCalendarsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnReadCalendarsOperationCompleted);
00274 }
00275 this.InvokeAsync("ReadCalendars", new object[] {
00276 filter,
00277 autoCheckOut}, this.ReadCalendarsOperationCompleted, userState);
00278 }
00279
00280 private void OnReadCalendarsOperationCompleted(object arg) {
00281 if ((this.ReadCalendarsCompleted != null)) {
00282 System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
00283 this.ReadCalendarsCompleted(this, new ReadCalendarsCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
00284 }
00285 }
00286
00287
00288 [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://schemas.microsoft.com/office/project/server/webservices/Calendar/UpdateCal" +
00289 "endars", RequestNamespace="http://schemas.microsoft.com/office/project/server/webservices/Calendar/", ResponseNamespace="http://schemas.microsoft.com/office/project/server/webservices/Calendar/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
00290 public void UpdateCalendars(CalendarDataSet calendarDataSet, bool validateOnly, bool autoCheckIn) {
00291 this.Invoke("UpdateCalendars", new object[] {
00292 calendarDataSet,
00293 validateOnly,
00294 autoCheckIn});
00295 }
00296
00297
00298 public void UpdateCalendarsAsync(CalendarDataSet calendarDataSet, bool validateOnly, bool autoCheckIn) {
00299 this.UpdateCalendarsAsync(calendarDataSet, validateOnly, autoCheckIn, null);
00300 }
00301
00302
00303 public void UpdateCalendarsAsync(CalendarDataSet calendarDataSet, bool validateOnly, bool autoCheckIn, object userState) {
00304 if ((this.UpdateCalendarsOperationCompleted == null)) {
00305 this.UpdateCalendarsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnUpdateCalendarsOperationCompleted);
00306 }
00307 this.InvokeAsync("UpdateCalendars", new object[] {
00308 calendarDataSet,
00309 validateOnly,
00310 autoCheckIn}, this.UpdateCalendarsOperationCompleted, userState);
00311 }
00312
00313 private void OnUpdateCalendarsOperationCompleted(object arg) {
00314 if ((this.UpdateCalendarsCompleted != null)) {
00315 System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
00316 this.UpdateCalendarsCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
00317 }
00318 }
00319
00320
00321 public new void CancelAsync(object userState) {
00322 base.CancelAsync(userState);
00323 }
00324
00325 private bool IsLocalFileSystemWebService(string url) {
00326 if (((url == null)
00327 || (url == string.Empty))) {
00328 return false;
00329 }
00330 System.Uri wsUri = new System.Uri(url);
00331 if (((wsUri.Port >= 1024)
00332 && (string.Compare(wsUri.Host, "localHost", System.StringComparison.OrdinalIgnoreCase) == 0))) {
00333 return true;
00334 }
00335 return false;
00336 }
00337 }
00338
00339
00340
00341
00342
00343 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
00344 [global::System.Serializable()]
00345 [global::System.ComponentModel.DesignerCategoryAttribute("code")]
00346 [global::System.ComponentModel.ToolboxItem(true)]
00347 [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedDataSetSchema")]
00348 [global::System.Xml.Serialization.XmlRootAttribute("CalendarDataSet")]
00349 [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.DataSet")]
00350 public partial class CalendarDataSet : global::System.Data.DataSet {
00351
00352 private CalendarsDataTable tableCalendars;
00353
00354 private CalendarExceptionsDataTable tableCalendarExceptions;
00355
00356 private global::System.Data.DataRelation relationCalendarCalendarExceptions;
00357
00358 private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
00359
00360 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
00361 public CalendarDataSet() {
00362 this.BeginInit();
00363 this.InitClass();
00364 global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
00365 base.Tables.CollectionChanged += schemaChangedHandler;
00366 base.Relations.CollectionChanged += schemaChangedHandler;
00367 this.EndInit();
00368 }
00369
00370 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
00371 protected CalendarDataSet(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
00372 base(info, context, false) {
00373 if ((this.IsBinarySerialized(info, context) == true)) {
00374 this.InitVars(false);
00375 global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler1 = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
00376 this.Tables.CollectionChanged += schemaChangedHandler1;
00377 this.Relations.CollectionChanged += schemaChangedHandler1;
00378 return;
00379 }
00380 string strSchema = ((string)(info.GetValue("XmlSchema", typeof(string))));
00381 if ((this.DetermineSchemaSerializationMode(info, context) == global::System.Data.SchemaSerializationMode.IncludeSchema)) {
00382 global::System.Data.DataSet ds = new global::System.Data.DataSet();
00383 ds.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema)));
00384 if ((ds.Tables["Calendars"] != null)) {
00385 base.Tables.Add(new CalendarsDataTable(ds.Tables["Calendars"]));
00386 }
00387 if ((ds.Tables["CalendarExceptions"] != null)) {
00388 base.Tables.Add(new CalendarExceptionsDataTable(ds.Tables["CalendarExceptions"]));
00389 }
00390 this.DataSetName = ds.DataSetName;
00391 this.Prefix = ds.Prefix;
00392 this.Namespace = ds.Namespace;
00393 this.Locale = ds.Locale;
00394 this.CaseSensitive = ds.CaseSensitive;
00395 this.EnforceConstraints = ds.EnforceConstraints;
00396 this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add);
00397 this.InitVars();
00398 }
00399 else {
00400 this.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema)));
00401 }
00402 this.GetSerializationData(info, context);
00403 global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
00404 base.Tables.CollectionChanged += schemaChangedHandler;
00405 this.Relations.CollectionChanged += schemaChangedHandler;
00406 }
00407
00408 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
00409 [global::System.ComponentModel.Browsable(false)]
00410 [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
00411 public CalendarsDataTable Calendars {
00412 get {
00413 return this.tableCalendars;
00414 }
00415 }
00416
00417 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
00418 [global::System.ComponentModel.Browsable(false)]
00419 [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
00420 public CalendarExceptionsDataTable CalendarExceptions {
00421 get {
00422 return this.tableCalendarExceptions;
00423 }
00424 }
00425
00426 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
00427 [global::System.ComponentModel.BrowsableAttribute(true)]
00428 [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Visible)]
00429 public override global::System.Data.SchemaSerializationMode SchemaSerializationMode {
00430 get {
00431 return this._schemaSerializationMode;
00432 }
00433 set {
00434 this._schemaSerializationMode = value;
00435 }
00436 }
00437
00438 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
00439 [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)]
00440 public new global::System.Data.DataTableCollection Tables {
00441 get {
00442 return base.Tables;
00443 }
00444 }
00445
00446 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
00447 [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)]
00448 public new global::System.Data.DataRelationCollection Relations {
00449 get {
00450 return base.Relations;
00451 }
00452 }
00453
00454 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
00455 protected override void InitializeDerivedDataSet() {
00456 this.BeginInit();
00457 this.InitClass();
00458 this.EndInit();
00459 }
00460
00461 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
00462 public override global::System.Data.DataSet Clone() {
00463 CalendarDataSet cln = ((CalendarDataSet)(base.Clone()));
00464 cln.InitVars();
00465 cln.SchemaSerializationMode = this.SchemaSerializationMode;
00466 return cln;
00467 }
00468
00469 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
00470 protected override bool ShouldSerializeTables() {
00471 return false;
00472 }
00473
00474 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
00475 protected override bool ShouldSerializeRelations() {
00476 return false;
00477 }
00478
00479 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
00480 protected override void ReadXmlSerializable(global::System.Xml.XmlReader reader) {
00481 if ((this.DetermineSchemaSerializationMode(reader) == global::System.Data.SchemaSerializationMode.IncludeSchema)) {
00482 this.Reset();
00483 global::System.Data.DataSet ds = new global::System.Data.DataSet();
00484 ds.ReadXml(reader);
00485 if ((ds.Tables["Calendars"] != null)) {
00486 base.Tables.Add(new CalendarsDataTable(ds.Tables["Calendars"]));
00487 }
00488 if ((ds.Tables["CalendarExceptions"] != null)) {
00489 base.Tables.Add(new CalendarExceptionsDataTable(ds.Tables["CalendarExceptions"]));
00490 }
00491 this.DataSetName = ds.DataSetName;
00492 this.Prefix = ds.Prefix;
00493 this.Namespace = ds.Namespace;
00494 this.Locale = ds.Locale;
00495 this.CaseSensitive = ds.CaseSensitive;
00496 this.EnforceConstraints = ds.EnforceConstraints;
00497 this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add);
00498 this.InitVars();
00499 }
00500 else {
00501 this.ReadXml(reader);
00502 this.InitVars();
00503 }
00504 }
00505
00506 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
00507 protected override global::System.Xml.Schema.XmlSchema GetSchemaSerializable() {
00508 global::System.IO.MemoryStream stream = new global::System.IO.MemoryStream();
00509 this.WriteXmlSchema(new global::System.Xml.XmlTextWriter(stream, null));
00510 stream.Position = 0;
00511 return global::System.Xml.Schema.XmlSchema.Read(new global::System.Xml.XmlTextReader(stream), null);
00512 }
00513
00514 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
00515 internal void InitVars() {
00516 this.InitVars(true);
00517 }
00518
00519 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
00520 internal void InitVars(bool initTable) {
00521 this.tableCalendars = ((CalendarsDataTable)(base.Tables["Calendars"]));
00522 if ((initTable == true)) {
00523 if ((this.tableCalendars != null)) {
00524 this.tableCalendars.InitVars();
00525 }
00526 }
00527 this.tableCalendarExceptions = ((CalendarExceptionsDataTable)(base.Tables["CalendarExceptions"]));
00528 if ((initTable == true)) {
00529 if ((this.tableCalendarExceptions != null)) {
00530 this.tableCalendarExceptions.InitVars();
00531 }
00532 }
00533 this.relationCalendarCalendarExceptions = this.Relations["CalendarCalendarExceptions"];
00534 }
00535
00536 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
00537 private void InitClass() {
00538 this.DataSetName = "CalendarDataSet";
00539 this.Prefix = "";
00540 this.Namespace = "http://schemas.microsoft.com/office/project/server/webservices/CalendarExceptionD" +
00541 "ataSet/";
00542 this.EnforceConstraints = true;
00543 this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
00544 this.tableCalendars = new CalendarsDataTable();
00545 base.Tables.Add(this.tableCalendars);
00546 this.tableCalendarExceptions = new CalendarExceptionsDataTable();
00547 base.Tables.Add(this.tableCalendarExceptions);
00548 global::System.Data.ForeignKeyConstraint fkc;
00549 fkc = new global::System.Data.ForeignKeyConstraint("CalendarCalendarExceptions", new global::System.Data.DataColumn[] {
00550 this.tableCalendars.CAL_UIDColumn}, new global::System.Data.DataColumn[] {
00551 this.tableCalendarExceptions.CAL_UIDColumn});
00552 this.tableCalendarExceptions.Constraints.Add(fkc);
00553 fkc.AcceptRejectRule = global::System.Data.AcceptRejectRule.None;
00554 fkc.DeleteRule = global::System.Data.Rule.Cascade;
00555 fkc.UpdateRule = global::System.Data.Rule.Cascade;
00556 this.relationCalendarCalendarExceptions = new global::System.Data.DataRelation("CalendarCalendarExceptions", new global::System.Data.DataColumn[] {
00557 this.tableCalendars.CAL_UIDColumn}, new global::System.Data.DataColumn[] {
00558 this.tableCalendarExceptions.CAL_UIDColumn}, false);
00559 this.Relations.Add(this.relationCalendarCalendarExceptions);
00560 }
00561
00562 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
00563 private bool ShouldSerializeCalendars() {
00564 return false;
00565 }
00566
00567 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
00568 private bool ShouldSerializeCalendarExceptions() {
00569 return false;
00570 }
00571
00572 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
00573 private void SchemaChanged(object sender, global::System.ComponentModel.CollectionChangeEventArgs e) {
00574 if ((e.Action == global::System.ComponentModel.CollectionChangeAction.Remove)) {
00575 this.InitVars();
00576 }
00577 }
00578
00579 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
00580 public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedDataSetSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
00581 CalendarDataSet ds = new CalendarDataSet();
00582 global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
00583 global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
00584 global::System.Xml.Schema.XmlSchemaAny any = new global::System.Xml.Schema.XmlSchemaAny();
00585 any.Namespace = ds.Namespace;
00586 sequence.Items.Add(any);
00587 type.Particle = sequence;
00588 global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
00589 if (xs.Contains(dsSchema.TargetNamespace)) {
00590 global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
00591 global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
00592 try {
00593 global::System.Xml.Schema.XmlSchema schema = null;
00594 dsSchema.Write(s1);
00595 for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
00596 schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
00597 s2.SetLength(0);
00598 schema.Write(s2);
00599 if ((s1.Length == s2.Length)) {
00600 s1.Position = 0;
00601 s2.Position = 0;
00602 for (; ((s1.Position != s1.Length)
00603 && (s1.ReadByte() == s2.ReadByte())); ) {
00604 ;
00605 }
00606 if ((s1.Position == s1.Length)) {
00607 return type;
00608 }
00609 }
00610 }
00611 }
00612 finally {
00613 if ((s1 != null)) {
00614 s1.Close();
00615 }
00616 if ((s2 != null)) {
00617 s2.Close();
00618 }
00619 }
00620 }
00621 xs.Add(dsSchema);
00622 return type;
00623 }
00624
00625 public delegate void CalendarsRowChangeEventHandler(object sender, CalendarsRowChangeEvent e);
00626
00627 public delegate void CalendarExceptionsRowChangeEventHandler(object sender, CalendarExceptionsRowChangeEvent e);
00628
00629
00630
00631
00632 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
00633 [global::System.Serializable()]
00634 [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
00635 public partial class CalendarsDataTable : global::System.Data.DataTable, global::System.Collections.IEnumerable {
00636
00637 private global::System.Data.DataColumn columnCAL_UID;
00638
00639 private global::System.Data.DataColumn columnCAL_NAME;
00640
00641 private global::System.Data.DataColumn columnCAL_IS_STANDARD_CAL;
00642
00643 private global::System.Data.DataColumn columnCAL_CHECKOUTBY;
00644
00645 private global::System.Data.DataColumn columnCAL_CHECKOUTDATE;
00646
00647 private global::System.Data.DataColumn columnCREATED_DATE;
00648
00649 private global::System.Data.DataColumn columnMOD_DATE;
00650
00651 private global::System.Data.DataColumn columnCalendarUniqueIdToDuplicate;
00652
00653 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
00654 public CalendarsDataTable() {
00655 this.TableName = "Calendars";
00656 this.BeginInit();
00657 this.InitClass();
00658 this.EndInit();
00659 }
00660
00661 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
00662 internal CalendarsDataTable(global::System.Data.DataTable table) {
00663 this.TableName = table.TableName;
00664 if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
00665 this.CaseSensitive = table.CaseSensitive;
00666 }
00667 if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
00668 this.Locale = table.Locale;
00669 }
00670 if ((table.Namespace != table.DataSet.Namespace)) {
00671 this.Namespace = table.Namespace;
00672 }
00673 this.Prefix = table.Prefix;
00674 this.MinimumCapacity = table.MinimumCapacity;
00675 }
00676
00677 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
00678 protected CalendarsDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
00679 base(info, context) {
00680 this.InitVars();
00681 }
00682
00683 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
00684 public global::System.Data.DataColumn CAL_UIDColumn {
00685 get {
00686 return this.columnCAL_UID;
00687 }
00688 }
00689
00690 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
00691 public global::System.Data.DataColumn CAL_NAMEColumn {
00692 get {
00693 return this.columnCAL_NAME;
00694 }
00695 }
00696
00697 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
00698 public global::System.Data.DataColumn CAL_IS_STANDARD_CALColumn {
00699 get {
00700 return this.columnCAL_IS_STANDARD_CAL;
00701 }
00702 }
00703
00704 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
00705 public global::System.Data.DataColumn CAL_CHECKOUTBYColumn {
00706 get {
00707 return this.columnCAL_CHECKOUTBY;
00708 }
00709 }
00710
00711 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
00712 public global::System.Data.DataColumn CAL_CHECKOUTDATEColumn {
00713 get {
00714 return this.columnCAL_CHECKOUTDATE;
00715 }
00716 }
00717
00718 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
00719 public global::System.Data.DataColumn CREATED_DATEColumn {
00720 get {
00721 return this.columnCREATED_DATE;
00722 }
00723 }
00724
00725 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
00726 public global::System.Data.DataColumn MOD_DATEColumn {
00727 get {
00728 return this.columnMOD_DATE;
00729 }
00730 }
00731
00732 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
00733 public global::System.Data.DataColumn CalendarUniqueIdToDuplicateColumn {
00734 get {
00735 return this.columnCalendarUniqueIdToDuplicate;
00736 }
00737 }
00738
00739 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
00740 [global::System.ComponentModel.Browsable(false)]
00741 public int Count {
00742 get {
00743 return this.Rows.Count;
00744 }
00745 }
00746
00747 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
00748 public CalendarsRow this[int index] {
00749 get {
00750 return ((CalendarsRow)(this.Rows[index]));
00751 }
00752 }
00753
00754 public event CalendarsRowChangeEventHandler CalendarsRowChanging;
00755
00756 public event CalendarsRowChangeEventHandler CalendarsRowChanged;
00757
00758 public event CalendarsRowChangeEventHandler CalendarsRowDeleting;
00759
00760 public event CalendarsRowChangeEventHandler CalendarsRowDeleted;
00761
00762 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
00763 public void AddCalendarsRow(CalendarsRow row) {
00764 this.Rows.Add(row);
00765 }
00766
00767 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
00768 public CalendarsRow AddCalendarsRow(System.Guid CAL_UID, string CAL_NAME, bool CAL_IS_STANDARD_CAL, System.Guid CAL_CHECKOUTBY, System.DateTime CAL_CHECKOUTDATE, System.DateTime CREATED_DATE, System.DateTime MOD_DATE, System.Guid CalendarUniqueIdToDuplicate) {
00769 CalendarsRow rowCalendarsRow = ((CalendarsRow)(this.NewRow()));
00770 object[] columnValuesArray = new object[] {
00771 CAL_UID,
00772 CAL_NAME,
00773 CAL_IS_STANDARD_CAL,
00774 CAL_CHECKOUTBY,
00775 CAL_CHECKOUTDATE,
00776 CREATED_DATE,
00777 MOD_DATE,
00778 CalendarUniqueIdToDuplicate};
00779 rowCalendarsRow.ItemArray = columnValuesArray;
00780 this.Rows.Add(rowCalendarsRow);
00781 return rowCalendarsRow;
00782 }
00783
00784 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
00785 public CalendarsRow FindByCAL_UID(System.Guid CAL_UID) {
00786 return ((CalendarsRow)(this.Rows.Find(new object[] {
00787 CAL_UID})));
00788 }
00789
00790 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
00791 public virtual global::System.Collections.IEnumerator GetEnumerator() {
00792 return this.Rows.GetEnumerator();
00793 }
00794
00795 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
00796 public override global::System.Data.DataTable Clone() {
00797 CalendarsDataTable cln = ((CalendarsDataTable)(base.Clone()));
00798 cln.InitVars();
00799 return cln;
00800 }
00801
00802 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
00803 protected override global::System.Data.DataTable CreateInstance() {
00804 return new CalendarsDataTable();
00805 }
00806
00807 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
00808 internal void InitVars() {
00809 this.columnCAL_UID = base.Columns["CAL_UID"];
00810 this.columnCAL_NAME = base.Columns["CAL_NAME"];
00811 this.columnCAL_IS_STANDARD_CAL = base.Columns["CAL_IS_STANDARD_CAL"];
00812 this.columnCAL_CHECKOUTBY = base.Columns["CAL_CHECKOUTBY"];
00813 this.columnCAL_CHECKOUTDATE = base.Columns["CAL_CHECKOUTDATE"];
00814 this.columnCREATED_DATE = base.Columns["CREATED_DATE"];
00815 this.columnMOD_DATE = base.Columns["MOD_DATE"];
00816 this.columnCalendarUniqueIdToDuplicate = base.Columns["CalendarUniqueIdToDuplicate"];
00817 }
00818
00819 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
00820 private void InitClass() {
00821 this.columnCAL_UID = new global::System.Data.DataColumn("CAL_UID", typeof(global::System.Guid), null, global::System.Data.MappingType.Element);
00822 base.Columns.Add(this.columnCAL_UID);
00823 this.columnCAL_NAME = new global::System.Data.DataColumn("CAL_NAME", typeof(string), null, global::System.Data.MappingType.Element);
00824 base.Columns.Add(this.columnCAL_NAME);
00825 this.columnCAL_IS_STANDARD_CAL = new global::System.Data.DataColumn("CAL_IS_STANDARD_CAL", typeof(bool), null, global::System.Data.MappingType.Element);
00826 base.Columns.Add(this.columnCAL_IS_STANDARD_CAL);
00827 this.columnCAL_CHECKOUTBY = new global::System.Data.DataColumn("CAL_CHECKOUTBY", typeof(global::System.Guid), null, global::System.Data.MappingType.Element);
00828 base.Columns.Add(this.columnCAL_CHECKOUTBY);
00829 this.columnCAL_CHECKOUTDATE = new global::System.Data.DataColumn("CAL_CHECKOUTDATE", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
00830 base.Columns.Add(this.columnCAL_CHECKOUTDATE);
00831 this.columnCREATED_DATE = new global::System.Data.DataColumn("CREATED_DATE", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
00832 base.Columns.Add(this.columnCREATED_DATE);
00833 this.columnMOD_DATE = new global::System.Data.DataColumn("MOD_DATE", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
00834 base.Columns.Add(this.columnMOD_DATE);
00835 this.columnCalendarUniqueIdToDuplicate = new global::System.Data.DataColumn("CalendarUniqueIdToDuplicate", typeof(global::System.Guid), null, global::System.Data.MappingType.Element);
00836 base.Columns.Add(this.columnCalendarUniqueIdToDuplicate);
00837 this.Constraints.Add(new global::System.Data.UniqueConstraint("CalendarDataSetKey1", new global::System.Data.DataColumn[] {
00838 this.columnCAL_UID}, true));
00839 this.columnCAL_UID.AllowDBNull = false;
00840 this.columnCAL_UID.Unique = true;
00841 this.columnCAL_IS_STANDARD_CAL.ReadOnly = true;
00842 this.columnCAL_IS_STANDARD_CAL.DefaultValue = ((bool)(false));
00843 this.columnCAL_CHECKOUTBY.ReadOnly = true;
00844 this.columnCAL_CHECKOUTDATE.ReadOnly = true;
00845 this.columnCREATED_DATE.ReadOnly = true;
00846 this.columnMOD_DATE.ReadOnly = true;
00847 }
00848
00849 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
00850 public CalendarsRow NewCalendarsRow() {
00851 return ((CalendarsRow)(this.NewRow()));
00852 }
00853
00854 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
00855 protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
00856 return new CalendarsRow(builder);
00857 }
00858
00859 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
00860 protected override global::System.Type GetRowType() {
00861 return typeof(CalendarsRow);
00862 }
00863
00864 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
00865 protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
00866 base.OnRowChanged(e);
00867 if ((this.CalendarsRowChanged != null)) {
00868 this.CalendarsRowChanged(this, new CalendarsRowChangeEvent(((CalendarsRow)(e.Row)), e.Action));
00869 }
00870 }
00871
00872 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
00873 protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
00874 base.OnRowChanging(e);
00875 if ((this.CalendarsRowChanging != null)) {
00876 this.CalendarsRowChanging(this, new CalendarsRowChangeEvent(((CalendarsRow)(e.Row)), e.Action));
00877 }
00878 }
00879
00880 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
00881 protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
00882 base.OnRowDeleted(e);
00883 if ((this.CalendarsRowDeleted != null)) {
00884 this.CalendarsRowDeleted(this, new CalendarsRowChangeEvent(((CalendarsRow)(e.Row)), e.Action));
00885 }
00886 }
00887
00888 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
00889 protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
00890 base.OnRowDeleting(e);
00891 if ((this.CalendarsRowDeleting != null)) {
00892 this.CalendarsRowDeleting(this, new CalendarsRowChangeEvent(((CalendarsRow)(e.Row)), e.Action));
00893 }
00894 }
00895
00896 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
00897 public void RemoveCalendarsRow(CalendarsRow row) {
00898 this.Rows.Remove(row);
00899 }
00900
00901 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
00902 public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
00903 global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
00904 global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
00905 CalendarDataSet ds = new CalendarDataSet();
00906 global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
00907 any1.Namespace = "http://www.w3.org/2001/XMLSchema";
00908 any1.MinOccurs = new decimal(0);
00909 any1.MaxOccurs = decimal.MaxValue;
00910 any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
00911 sequence.Items.Add(any1);
00912 global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
00913 any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
00914 any2.MinOccurs = new decimal(1);
00915 any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
00916 sequence.Items.Add(any2);
00917 global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
00918 attribute1.Name = "namespace";
00919 attribute1.FixedValue = ds.Namespace;
00920 type.Attributes.Add(attribute1);
00921 global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
00922 attribute2.Name = "tableTypeName";
00923 attribute2.FixedValue = "CalendarsDataTable";
00924 type.Attributes.Add(attribute2);
00925 type.Particle = sequence;
00926 global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
00927 if (xs.Contains(dsSchema.TargetNamespace)) {
00928 global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
00929 global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
00930 try {
00931 global::System.Xml.Schema.XmlSchema schema = null;
00932 dsSchema.Write(s1);
00933 for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
00934 schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
00935 s2.SetLength(0);
00936 schema.Write(s2);
00937 if ((s1.Length == s2.Length)) {
00938 s1.Position = 0;
00939 s2.Position = 0;
00940 for (; ((s1.Position != s1.Length)
00941 && (s1.ReadByte() == s2.ReadByte())); ) {
00942 ;
00943 }
00944 if ((s1.Position == s1.Length)) {
00945 return type;
00946 }
00947 }
00948 }
00949 }
00950 finally {
00951 if ((s1 != null)) {
00952 s1.Close();
00953 }
00954 if ((s2 != null)) {
00955 s2.Close();
00956 }
00957 }
00958 }
00959 xs.Add(dsSchema);
00960 return type;
00961 }
00962 }
00963
00964
00965
00966
00967 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
00968 [global::System.Serializable()]
00969 [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
00970 public partial class CalendarExceptionsDataTable : global::System.Data.DataTable, global::System.Collections.IEnumerable {
00971
00972 private global::System.Data.DataColumn columnCAL_UID;
00973
00974 private global::System.Data.DataColumn columnName;
00975
00976 private global::System.Data.DataColumn columnStart;
00977
00978 private global::System.Data.DataColumn columnFinish;
00979
00980 private global::System.Data.DataColumn columnShift1Start;
00981
00982 private global::System.Data.DataColumn columnShift1Finish;
00983
00984 private global::System.Data.DataColumn columnShift2Start;
00985
00986 private global::System.Data.DataColumn columnShift2Finish;
00987
00988 private global::System.Data.DataColumn columnShift3Start;
00989
00990 private global::System.Data.DataColumn columnShift3Finish;
00991
00992 private global::System.Data.DataColumn columnShift4Start;
00993
00994 private global::System.Data.DataColumn columnShift4Finish;
00995
00996 private global::System.Data.DataColumn columnShift5Start;
00997
00998 private global::System.Data.DataColumn columnShift5Finish;
00999
01000 private global::System.Data.DataColumn columnRecurrenceType;
01001
01002 private global::System.Data.DataColumn columnRecurrenceFrequency;
01003
01004 private global::System.Data.DataColumn columnRecurrenceDays;
01005
01006 private global::System.Data.DataColumn columnRecurrenceMonthDay;
01007
01008 private global::System.Data.DataColumn columnRecurrenceMonth;
01009
01010 private global::System.Data.DataColumn columnRecurrencePosition;
01011
01012 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01013 public CalendarExceptionsDataTable() {
01014 this.TableName = "CalendarExceptions";
01015 this.BeginInit();
01016 this.InitClass();
01017 this.EndInit();
01018 }
01019
01020 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01021 internal CalendarExceptionsDataTable(global::System.Data.DataTable table) {
01022 this.TableName = table.TableName;
01023 if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
01024 this.CaseSensitive = table.CaseSensitive;
01025 }
01026 if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
01027 this.Locale = table.Locale;
01028 }
01029 if ((table.Namespace != table.DataSet.Namespace)) {
01030 this.Namespace = table.Namespace;
01031 }
01032 this.Prefix = table.Prefix;
01033 this.MinimumCapacity = table.MinimumCapacity;
01034 }
01035
01036 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01037 protected CalendarExceptionsDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
01038 base(info, context) {
01039 this.InitVars();
01040 }
01041
01042 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01043 public global::System.Data.DataColumn CAL_UIDColumn {
01044 get {
01045 return this.columnCAL_UID;
01046 }
01047 }
01048
01049 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01050 public global::System.Data.DataColumn NameColumn {
01051 get {
01052 return this.columnName;
01053 }
01054 }
01055
01056 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01057 public global::System.Data.DataColumn StartColumn {
01058 get {
01059 return this.columnStart;
01060 }
01061 }
01062
01063 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01064 public global::System.Data.DataColumn FinishColumn {
01065 get {
01066 return this.columnFinish;
01067 }
01068 }
01069
01070 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01071 public global::System.Data.DataColumn Shift1StartColumn {
01072 get {
01073 return this.columnShift1Start;
01074 }
01075 }
01076
01077 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01078 public global::System.Data.DataColumn Shift1FinishColumn {
01079 get {
01080 return this.columnShift1Finish;
01081 }
01082 }
01083
01084 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01085 public global::System.Data.DataColumn Shift2StartColumn {
01086 get {
01087 return this.columnShift2Start;
01088 }
01089 }
01090
01091 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01092 public global::System.Data.DataColumn Shift2FinishColumn {
01093 get {
01094 return this.columnShift2Finish;
01095 }
01096 }
01097
01098 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01099 public global::System.Data.DataColumn Shift3StartColumn {
01100 get {
01101 return this.columnShift3Start;
01102 }
01103 }
01104
01105 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01106 public global::System.Data.DataColumn Shift3FinishColumn {
01107 get {
01108 return this.columnShift3Finish;
01109 }
01110 }
01111
01112 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01113 public global::System.Data.DataColumn Shift4StartColumn {
01114 get {
01115 return this.columnShift4Start;
01116 }
01117 }
01118
01119 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01120 public global::System.Data.DataColumn Shift4FinishColumn {
01121 get {
01122 return this.columnShift4Finish;
01123 }
01124 }
01125
01126 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01127 public global::System.Data.DataColumn Shift5StartColumn {
01128 get {
01129 return this.columnShift5Start;
01130 }
01131 }
01132
01133 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01134 public global::System.Data.DataColumn Shift5FinishColumn {
01135 get {
01136 return this.columnShift5Finish;
01137 }
01138 }
01139
01140 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01141 public global::System.Data.DataColumn RecurrenceTypeColumn {
01142 get {
01143 return this.columnRecurrenceType;
01144 }
01145 }
01146
01147 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01148 public global::System.Data.DataColumn RecurrenceFrequencyColumn {
01149 get {
01150 return this.columnRecurrenceFrequency;
01151 }
01152 }
01153
01154 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01155 public global::System.Data.DataColumn RecurrenceDaysColumn {
01156 get {
01157 return this.columnRecurrenceDays;
01158 }
01159 }
01160
01161 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01162 public global::System.Data.DataColumn RecurrenceMonthDayColumn {
01163 get {
01164 return this.columnRecurrenceMonthDay;
01165 }
01166 }
01167
01168 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01169 public global::System.Data.DataColumn RecurrenceMonthColumn {
01170 get {
01171 return this.columnRecurrenceMonth;
01172 }
01173 }
01174
01175 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01176 public global::System.Data.DataColumn RecurrencePositionColumn {
01177 get {
01178 return this.columnRecurrencePosition;
01179 }
01180 }
01181
01182 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01183 [global::System.ComponentModel.Browsable(false)]
01184 public int Count {
01185 get {
01186 return this.Rows.Count;
01187 }
01188 }
01189
01190 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01191 public CalendarExceptionsRow this[int index] {
01192 get {
01193 return ((CalendarExceptionsRow)(this.Rows[index]));
01194 }
01195 }
01196
01197 public event CalendarExceptionsRowChangeEventHandler CalendarExceptionsRowChanging;
01198
01199 public event CalendarExceptionsRowChangeEventHandler CalendarExceptionsRowChanged;
01200
01201 public event CalendarExceptionsRowChangeEventHandler CalendarExceptionsRowDeleting;
01202
01203 public event CalendarExceptionsRowChangeEventHandler CalendarExceptionsRowDeleted;
01204
01205 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01206 public void AddCalendarExceptionsRow(CalendarExceptionsRow row) {
01207 this.Rows.Add(row);
01208 }
01209
01210 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01211 public CalendarExceptionsRow AddCalendarExceptionsRow(
01212 CalendarsRow parentCalendarsRowByCalendarCalendarExceptions,
01213 string Name,
01214 System.DateTime Start,
01215 System.DateTime Finish,
01216 int Shift1Start,
01217 int Shift1Finish,
01218 int Shift2Start,
01219 int Shift2Finish,
01220 int Shift3Start,
01221 int Shift3Finish,
01222 int Shift4Start,
01223 int Shift4Finish,
01224 int Shift5Start,
01225 int Shift5Finish,
01226 int RecurrenceType,
01227 int RecurrenceFrequency,
01228 int RecurrenceDays,
01229 int RecurrenceMonthDay,
01230 int RecurrenceMonth,
01231 int RecurrencePosition) {
01232 CalendarExceptionsRow rowCalendarExceptionsRow = ((CalendarExceptionsRow)(this.NewRow()));
01233 object[] columnValuesArray = new object[] {
01234 null,
01235 Name,
01236 Start,
01237 Finish,
01238 Shift1Start,
01239 Shift1Finish,
01240 Shift2Start,
01241 Shift2Finish,
01242 Shift3Start,
01243 Shift3Finish,
01244 Shift4Start,
01245 Shift4Finish,
01246 Shift5Start,
01247 Shift5Finish,
01248 RecurrenceType,
01249 RecurrenceFrequency,
01250 RecurrenceDays,
01251 RecurrenceMonthDay,
01252 RecurrenceMonth,
01253 RecurrencePosition};
01254 if ((parentCalendarsRowByCalendarCalendarExceptions != null)) {
01255 columnValuesArray[0] = parentCalendarsRowByCalendarCalendarExceptions[0];
01256 }
01257 rowCalendarExceptionsRow.ItemArray = columnValuesArray;
01258 this.Rows.Add(rowCalendarExceptionsRow);
01259 return rowCalendarExceptionsRow;
01260 }
01261
01262 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01263 public virtual global::System.Collections.IEnumerator GetEnumerator() {
01264 return this.Rows.GetEnumerator();
01265 }
01266
01267 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01268 public override global::System.Data.DataTable Clone() {
01269 CalendarExceptionsDataTable cln = ((CalendarExceptionsDataTable)(base.Clone()));
01270 cln.InitVars();
01271 return cln;
01272 }
01273
01274 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01275 protected override global::System.Data.DataTable CreateInstance() {
01276 return new CalendarExceptionsDataTable();
01277 }
01278
01279 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01280 internal void InitVars() {
01281 this.columnCAL_UID = base.Columns["CAL_UID"];
01282 this.columnName = base.Columns["Name"];
01283 this.columnStart = base.Columns["Start"];
01284 this.columnFinish = base.Columns["Finish"];
01285 this.columnShift1Start = base.Columns["Shift1Start"];
01286 this.columnShift1Finish = base.Columns["Shift1Finish"];
01287 this.columnShift2Start = base.Columns["Shift2Start"];
01288 this.columnShift2Finish = base.Columns["Shift2Finish"];
01289 this.columnShift3Start = base.Columns["Shift3Start"];
01290 this.columnShift3Finish = base.Columns["Shift3Finish"];
01291 this.columnShift4Start = base.Columns["Shift4Start"];
01292 this.columnShift4Finish = base.Columns["Shift4Finish"];
01293 this.columnShift5Start = base.Columns["Shift5Start"];
01294 this.columnShift5Finish = base.Columns["Shift5Finish"];
01295 this.columnRecurrenceType = base.Columns["RecurrenceType"];
01296 this.columnRecurrenceFrequency = base.Columns["RecurrenceFrequency"];
01297 this.columnRecurrenceDays = base.Columns["RecurrenceDays"];
01298 this.columnRecurrenceMonthDay = base.Columns["RecurrenceMonthDay"];
01299 this.columnRecurrenceMonth = base.Columns["RecurrenceMonth"];
01300 this.columnRecurrencePosition = base.Columns["RecurrencePosition"];
01301 }
01302
01303 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01304 private void InitClass() {
01305 this.columnCAL_UID = new global::System.Data.DataColumn("CAL_UID", typeof(global::System.Guid), null, global::System.Data.MappingType.Element);
01306 base.Columns.Add(this.columnCAL_UID);
01307 this.columnName = new global::System.Data.DataColumn("Name", typeof(string), null, global::System.Data.MappingType.Element);
01308 base.Columns.Add(this.columnName);
01309 this.columnStart = new global::System.Data.DataColumn("Start", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
01310 base.Columns.Add(this.columnStart);
01311 this.columnFinish = new global::System.Data.DataColumn("Finish", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
01312 base.Columns.Add(this.columnFinish);
01313 this.columnShift1Start = new global::System.Data.DataColumn("Shift1Start", typeof(int), null, global::System.Data.MappingType.Element);
01314 base.Columns.Add(this.columnShift1Start);
01315 this.columnShift1Finish = new global::System.Data.DataColumn("Shift1Finish", typeof(int), null, global::System.Data.MappingType.Element);
01316 base.Columns.Add(this.columnShift1Finish);
01317 this.columnShift2Start = new global::System.Data.DataColumn("Shift2Start", typeof(int), null, global::System.Data.MappingType.Element);
01318 base.Columns.Add(this.columnShift2Start);
01319 this.columnShift2Finish = new global::System.Data.DataColumn("Shift2Finish", typeof(int), null, global::System.Data.MappingType.Element);
01320 base.Columns.Add(this.columnShift2Finish);
01321 this.columnShift3Start = new global::System.Data.DataColumn("Shift3Start", typeof(int), null, global::System.Data.MappingType.Element);
01322 base.Columns.Add(this.columnShift3Start);
01323 this.columnShift3Finish = new global::System.Data.DataColumn("Shift3Finish", typeof(int), null, global::System.Data.MappingType.Element);
01324 base.Columns.Add(this.columnShift3Finish);
01325 this.columnShift4Start = new global::System.Data.DataColumn("Shift4Start", typeof(int), null, global::System.Data.MappingType.Element);
01326 base.Columns.Add(this.columnShift4Start);
01327 this.columnShift4Finish = new global::System.Data.DataColumn("Shift4Finish", typeof(int), null, global::System.Data.MappingType.Element);
01328 base.Columns.Add(this.columnShift4Finish);
01329 this.columnShift5Start = new global::System.Data.DataColumn("Shift5Start", typeof(int), null, global::System.Data.MappingType.Element);
01330 base.Columns.Add(this.columnShift5Start);
01331 this.columnShift5Finish = new global::System.Data.DataColumn("Shift5Finish", typeof(int), null, global::System.Data.MappingType.Element);
01332 base.Columns.Add(this.columnShift5Finish);
01333 this.columnRecurrenceType = new global::System.Data.DataColumn("RecurrenceType", typeof(int), null, global::System.Data.MappingType.Element);
01334 base.Columns.Add(this.columnRecurrenceType);
01335 this.columnRecurrenceFrequency = new global::System.Data.DataColumn("RecurrenceFrequency", typeof(int), null, global::System.Data.MappingType.Element);
01336 base.Columns.Add(this.columnRecurrenceFrequency);
01337 this.columnRecurrenceDays = new global::System.Data.DataColumn("RecurrenceDays", typeof(int), null, global::System.Data.MappingType.Element);
01338 base.Columns.Add(this.columnRecurrenceDays);
01339 this.columnRecurrenceMonthDay = new global::System.Data.DataColumn("RecurrenceMonthDay", typeof(int), null, global::System.Data.MappingType.Element);
01340 base.Columns.Add(this.columnRecurrenceMonthDay);
01341 this.columnRecurrenceMonth = new global::System.Data.DataColumn("RecurrenceMonth", typeof(int), null, global::System.Data.MappingType.Element);
01342 base.Columns.Add(this.columnRecurrenceMonth);
01343 this.columnRecurrencePosition = new global::System.Data.DataColumn("RecurrencePosition", typeof(int), null, global::System.Data.MappingType.Element);
01344 base.Columns.Add(this.columnRecurrencePosition);
01345 this.columnCAL_UID.AllowDBNull = false;
01346 }
01347
01348 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01349 public CalendarExceptionsRow NewCalendarExceptionsRow() {
01350 return ((CalendarExceptionsRow)(this.NewRow()));
01351 }
01352
01353 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01354 protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
01355 return new CalendarExceptionsRow(builder);
01356 }
01357
01358 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01359 protected override global::System.Type GetRowType() {
01360 return typeof(CalendarExceptionsRow);
01361 }
01362
01363 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01364 protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
01365 base.OnRowChanged(e);
01366 if ((this.CalendarExceptionsRowChanged != null)) {
01367 this.CalendarExceptionsRowChanged(this, new CalendarExceptionsRowChangeEvent(((CalendarExceptionsRow)(e.Row)), e.Action));
01368 }
01369 }
01370
01371 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01372 protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
01373 base.OnRowChanging(e);
01374 if ((this.CalendarExceptionsRowChanging != null)) {
01375 this.CalendarExceptionsRowChanging(this, new CalendarExceptionsRowChangeEvent(((CalendarExceptionsRow)(e.Row)), e.Action));
01376 }
01377 }
01378
01379 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01380 protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
01381 base.OnRowDeleted(e);
01382 if ((this.CalendarExceptionsRowDeleted != null)) {
01383 this.CalendarExceptionsRowDeleted(this, new CalendarExceptionsRowChangeEvent(((CalendarExceptionsRow)(e.Row)), e.Action));
01384 }
01385 }
01386
01387 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01388 protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
01389 base.OnRowDeleting(e);
01390 if ((this.CalendarExceptionsRowDeleting != null)) {
01391 this.CalendarExceptionsRowDeleting(this, new CalendarExceptionsRowChangeEvent(((CalendarExceptionsRow)(e.Row)), e.Action));
01392 }
01393 }
01394
01395 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01396 public void RemoveCalendarExceptionsRow(CalendarExceptionsRow row) {
01397 this.Rows.Remove(row);
01398 }
01399
01400 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01401 public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
01402 global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
01403 global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
01404 CalendarDataSet ds = new CalendarDataSet();
01405 global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
01406 any1.Namespace = "http://www.w3.org/2001/XMLSchema";
01407 any1.MinOccurs = new decimal(0);
01408 any1.MaxOccurs = decimal.MaxValue;
01409 any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
01410 sequence.Items.Add(any1);
01411 global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
01412 any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
01413 any2.MinOccurs = new decimal(1);
01414 any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
01415 sequence.Items.Add(any2);
01416 global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
01417 attribute1.Name = "namespace";
01418 attribute1.FixedValue = ds.Namespace;
01419 type.Attributes.Add(attribute1);
01420 global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
01421 attribute2.Name = "tableTypeName";
01422 attribute2.FixedValue = "CalendarExceptionsDataTable";
01423 type.Attributes.Add(attribute2);
01424 type.Particle = sequence;
01425 global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
01426 if (xs.Contains(dsSchema.TargetNamespace)) {
01427 global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
01428 global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
01429 try {
01430 global::System.Xml.Schema.XmlSchema schema = null;
01431 dsSchema.Write(s1);
01432 for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
01433 schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
01434 s2.SetLength(0);
01435 schema.Write(s2);
01436 if ((s1.Length == s2.Length)) {
01437 s1.Position = 0;
01438 s2.Position = 0;
01439 for (; ((s1.Position != s1.Length)
01440 && (s1.ReadByte() == s2.ReadByte())); ) {
01441 ;
01442 }
01443 if ((s1.Position == s1.Length)) {
01444 return type;
01445 }
01446 }
01447 }
01448 }
01449 finally {
01450 if ((s1 != null)) {
01451 s1.Close();
01452 }
01453 if ((s2 != null)) {
01454 s2.Close();
01455 }
01456 }
01457 }
01458 xs.Add(dsSchema);
01459 return type;
01460 }
01461 }
01462
01463
01464
01465
01466 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
01467 public partial class CalendarsRow : global::System.Data.DataRow {
01468
01469 private CalendarsDataTable tableCalendars;
01470
01471 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01472 internal CalendarsRow(global::System.Data.DataRowBuilder rb) :
01473 base(rb) {
01474 this.tableCalendars = ((CalendarsDataTable)(this.Table));
01475 }
01476
01477 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01478 public System.Guid CAL_UID {
01479 get {
01480 return ((global::System.Guid)(this[this.tableCalendars.CAL_UIDColumn]));
01481 }
01482 set {
01483 this[this.tableCalendars.CAL_UIDColumn] = value;
01484 }
01485 }
01486
01487 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01488 public string CAL_NAME {
01489 get {
01490 try {
01491 return ((string)(this[this.tableCalendars.CAL_NAMEColumn]));
01492 }
01493 catch (global::System.InvalidCastException e) {
01494 throw new global::System.Data.StrongTypingException("The value for column \'CAL_NAME\' in table \'Calendars\' is DBNull.", e);
01495 }
01496 }
01497 set {
01498 this[this.tableCalendars.CAL_NAMEColumn] = value;
01499 }
01500 }
01501
01502 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01503 public bool CAL_IS_STANDARD_CAL {
01504 get {
01505 try {
01506 return ((bool)(this[this.tableCalendars.CAL_IS_STANDARD_CALColumn]));
01507 }
01508 catch (global::System.InvalidCastException e) {
01509 throw new global::System.Data.StrongTypingException("The value for column \'CAL_IS_STANDARD_CAL\' in table \'Calendars\' is DBNull.", e);
01510 }
01511 }
01512 set {
01513 this[this.tableCalendars.CAL_IS_STANDARD_CALColumn] = value;
01514 }
01515 }
01516
01517 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01518 public System.Guid CAL_CHECKOUTBY {
01519 get {
01520 try {
01521 return ((global::System.Guid)(this[this.tableCalendars.CAL_CHECKOUTBYColumn]));
01522 }
01523 catch (global::System.InvalidCastException e) {
01524 throw new global::System.Data.StrongTypingException("The value for column \'CAL_CHECKOUTBY\' in table \'Calendars\' is DBNull.", e);
01525 }
01526 }
01527 set {
01528 this[this.tableCalendars.CAL_CHECKOUTBYColumn] = value;
01529 }
01530 }
01531
01532 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01533 public System.DateTime CAL_CHECKOUTDATE {
01534 get {
01535 try {
01536 return ((global::System.DateTime)(this[this.tableCalendars.CAL_CHECKOUTDATEColumn]));
01537 }
01538 catch (global::System.InvalidCastException e) {
01539 throw new global::System.Data.StrongTypingException("The value for column \'CAL_CHECKOUTDATE\' in table \'Calendars\' is DBNull.", e);
01540 }
01541 }
01542 set {
01543 this[this.tableCalendars.CAL_CHECKOUTDATEColumn] = value;
01544 }
01545 }
01546
01547 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01548 public System.DateTime CREATED_DATE {
01549 get {
01550 try {
01551 return ((global::System.DateTime)(this[this.tableCalendars.CREATED_DATEColumn]));
01552 }
01553 catch (global::System.InvalidCastException e) {
01554 throw new global::System.Data.StrongTypingException("The value for column \'CREATED_DATE\' in table \'Calendars\' is DBNull.", e);
01555 }
01556 }
01557 set {
01558 this[this.tableCalendars.CREATED_DATEColumn] = value;
01559 }
01560 }
01561
01562 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01563 public System.DateTime MOD_DATE {
01564 get {
01565 try {
01566 return ((global::System.DateTime)(this[this.tableCalendars.MOD_DATEColumn]));
01567 }
01568 catch (global::System.InvalidCastException e) {
01569 throw new global::System.Data.StrongTypingException("The value for column \'MOD_DATE\' in table \'Calendars\' is DBNull.", e);
01570 }
01571 }
01572 set {
01573 this[this.tableCalendars.MOD_DATEColumn] = value;
01574 }
01575 }
01576
01577 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01578 public System.Guid CalendarUniqueIdToDuplicate {
01579 get {
01580 try {
01581 return ((global::System.Guid)(this[this.tableCalendars.CalendarUniqueIdToDuplicateColumn]));
01582 }
01583 catch (global::System.InvalidCastException e) {
01584 throw new global::System.Data.StrongTypingException("The value for column \'CalendarUniqueIdToDuplicate\' in table \'Calendars\' is DBNull" +
01585 ".", e);
01586 }
01587 }
01588 set {
01589 this[this.tableCalendars.CalendarUniqueIdToDuplicateColumn] = value;
01590 }
01591 }
01592
01593 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01594 public bool IsCAL_NAMENull() {
01595 return this.IsNull(this.tableCalendars.CAL_NAMEColumn);
01596 }
01597
01598 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01599 public void SetCAL_NAMENull() {
01600 this[this.tableCalendars.CAL_NAMEColumn] = global::System.Convert.DBNull;
01601 }
01602
01603 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01604 public bool IsCAL_IS_STANDARD_CALNull() {
01605 return this.IsNull(this.tableCalendars.CAL_IS_STANDARD_CALColumn);
01606 }
01607
01608 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01609 public void SetCAL_IS_STANDARD_CALNull() {
01610 this[this.tableCalendars.CAL_IS_STANDARD_CALColumn] = global::System.Convert.DBNull;
01611 }
01612
01613 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01614 public bool IsCAL_CHECKOUTBYNull() {
01615 return this.IsNull(this.tableCalendars.CAL_CHECKOUTBYColumn);
01616 }
01617
01618 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01619 public void SetCAL_CHECKOUTBYNull() {
01620 this[this.tableCalendars.CAL_CHECKOUTBYColumn] = global::System.Convert.DBNull;
01621 }
01622
01623 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01624 public bool IsCAL_CHECKOUTDATENull() {
01625 return this.IsNull(this.tableCalendars.CAL_CHECKOUTDATEColumn);
01626 }
01627
01628 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01629 public void SetCAL_CHECKOUTDATENull() {
01630 this[this.tableCalendars.CAL_CHECKOUTDATEColumn] = global::System.Convert.DBNull;
01631 }
01632
01633 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01634 public bool IsCREATED_DATENull() {
01635 return this.IsNull(this.tableCalendars.CREATED_DATEColumn);
01636 }
01637
01638 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01639 public void SetCREATED_DATENull() {
01640 this[this.tableCalendars.CREATED_DATEColumn] = global::System.Convert.DBNull;
01641 }
01642
01643 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01644 public bool IsMOD_DATENull() {
01645 return this.IsNull(this.tableCalendars.MOD_DATEColumn);
01646 }
01647
01648 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01649 public void SetMOD_DATENull() {
01650 this[this.tableCalendars.MOD_DATEColumn] = global::System.Convert.DBNull;
01651 }
01652
01653 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01654 public bool IsCalendarUniqueIdToDuplicateNull() {
01655 return this.IsNull(this.tableCalendars.CalendarUniqueIdToDuplicateColumn);
01656 }
01657
01658 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01659 public void SetCalendarUniqueIdToDuplicateNull() {
01660 this[this.tableCalendars.CalendarUniqueIdToDuplicateColumn] = global::System.Convert.DBNull;
01661 }
01662
01663 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01664 public CalendarExceptionsRow[] GetCalendarExceptionsRows() {
01665 if ((this.Table.ChildRelations["CalendarCalendarExceptions"] == null)) {
01666 return new CalendarExceptionsRow[0];
01667 }
01668 else {
01669 return ((CalendarExceptionsRow[])(base.GetChildRows(this.Table.ChildRelations["CalendarCalendarExceptions"])));
01670 }
01671 }
01672 }
01673
01674
01675
01676
01677 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
01678 public partial class CalendarExceptionsRow : global::System.Data.DataRow {
01679
01680 private CalendarExceptionsDataTable tableCalendarExceptions;
01681
01682 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01683 internal CalendarExceptionsRow(global::System.Data.DataRowBuilder rb) :
01684 base(rb) {
01685 this.tableCalendarExceptions = ((CalendarExceptionsDataTable)(this.Table));
01686 }
01687
01688 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01689 public System.Guid CAL_UID {
01690 get {
01691 return ((global::System.Guid)(this[this.tableCalendarExceptions.CAL_UIDColumn]));
01692 }
01693 set {
01694 this[this.tableCalendarExceptions.CAL_UIDColumn] = value;
01695 }
01696 }
01697
01698 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01699 public string Name {
01700 get {
01701 try {
01702 return ((string)(this[this.tableCalendarExceptions.NameColumn]));
01703 }
01704 catch (global::System.InvalidCastException e) {
01705 throw new global::System.Data.StrongTypingException("The value for column \'Name\' in table \'CalendarExceptions\' is DBNull.", e);
01706 }
01707 }
01708 set {
01709 this[this.tableCalendarExceptions.NameColumn] = value;
01710 }
01711 }
01712
01713 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01714 public System.DateTime Start {
01715 get {
01716 try {
01717 return ((global::System.DateTime)(this[this.tableCalendarExceptions.StartColumn]));
01718 }
01719 catch (global::System.InvalidCastException e) {
01720 throw new global::System.Data.StrongTypingException("The value for column \'Start\' in table \'CalendarExceptions\' is DBNull.", e);
01721 }
01722 }
01723 set {
01724 this[this.tableCalendarExceptions.StartColumn] = value;
01725 }
01726 }
01727
01728 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01729 public System.DateTime Finish {
01730 get {
01731 try {
01732 return ((global::System.DateTime)(this[this.tableCalendarExceptions.FinishColumn]));
01733 }
01734 catch (global::System.InvalidCastException e) {
01735 throw new global::System.Data.StrongTypingException("The value for column \'Finish\' in table \'CalendarExceptions\' is DBNull.", e);
01736 }
01737 }
01738 set {
01739 this[this.tableCalendarExceptions.FinishColumn] = value;
01740 }
01741 }
01742
01743 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01744 public int Shift1Start {
01745 get {
01746 try {
01747 return ((int)(this[this.tableCalendarExceptions.Shift1StartColumn]));
01748 }
01749 catch (global::System.InvalidCastException e) {
01750 throw new global::System.Data.StrongTypingException("The value for column \'Shift1Start\' in table \'CalendarExceptions\' is DBNull.", e);
01751 }
01752 }
01753 set {
01754 this[this.tableCalendarExceptions.Shift1StartColumn] = value;
01755 }
01756 }
01757
01758 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01759 public int Shift1Finish {
01760 get {
01761 try {
01762 return ((int)(this[this.tableCalendarExceptions.Shift1FinishColumn]));
01763 }
01764 catch (global::System.InvalidCastException e) {
01765 throw new global::System.Data.StrongTypingException("The value for column \'Shift1Finish\' in table \'CalendarExceptions\' is DBNull.", e);
01766 }
01767 }
01768 set {
01769 this[this.tableCalendarExceptions.Shift1FinishColumn] = value;
01770 }
01771 }
01772
01773 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01774 public int Shift2Start {
01775 get {
01776 try {
01777 return ((int)(this[this.tableCalendarExceptions.Shift2StartColumn]));
01778 }
01779 catch (global::System.InvalidCastException e) {
01780 throw new global::System.Data.StrongTypingException("The value for column \'Shift2Start\' in table \'CalendarExceptions\' is DBNull.", e);
01781 }
01782 }
01783 set {
01784 this[this.tableCalendarExceptions.Shift2StartColumn] = value;
01785 }
01786 }
01787
01788 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01789 public int Shift2Finish {
01790 get {
01791 try {
01792 return ((int)(this[this.tableCalendarExceptions.Shift2FinishColumn]));
01793 }
01794 catch (global::System.InvalidCastException e) {
01795 throw new global::System.Data.StrongTypingException("The value for column \'Shift2Finish\' in table \'CalendarExceptions\' is DBNull.", e);
01796 }
01797 }
01798 set {
01799 this[this.tableCalendarExceptions.Shift2FinishColumn] = value;
01800 }
01801 }
01802
01803 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01804 public int Shift3Start {
01805 get {
01806 try {
01807 return ((int)(this[this.tableCalendarExceptions.Shift3StartColumn]));
01808 }
01809 catch (global::System.InvalidCastException e) {
01810 throw new global::System.Data.StrongTypingException("The value for column \'Shift3Start\' in table \'CalendarExceptions\' is DBNull.", e);
01811 }
01812 }
01813 set {
01814 this[this.tableCalendarExceptions.Shift3StartColumn] = value;
01815 }
01816 }
01817
01818 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01819 public int Shift3Finish {
01820 get {
01821 try {
01822 return ((int)(this[this.tableCalendarExceptions.Shift3FinishColumn]));
01823 }
01824 catch (global::System.InvalidCastException e) {
01825 throw new global::System.Data.StrongTypingException("The value for column \'Shift3Finish\' in table \'CalendarExceptions\' is DBNull.", e);
01826 }
01827 }
01828 set {
01829 this[this.tableCalendarExceptions.Shift3FinishColumn] = value;
01830 }
01831 }
01832
01833 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01834 public int Shift4Start {
01835 get {
01836 try {
01837 return ((int)(this[this.tableCalendarExceptions.Shift4StartColumn]));
01838 }
01839 catch (global::System.InvalidCastException e) {
01840 throw new global::System.Data.StrongTypingException("The value for column \'Shift4Start\' in table \'CalendarExceptions\' is DBNull.", e);
01841 }
01842 }
01843 set {
01844 this[this.tableCalendarExceptions.Shift4StartColumn] = value;
01845 }
01846 }
01847
01848 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01849 public int Shift4Finish {
01850 get {
01851 try {
01852 return ((int)(this[this.tableCalendarExceptions.Shift4FinishColumn]));
01853 }
01854 catch (global::System.InvalidCastException e) {
01855 throw new global::System.Data.StrongTypingException("The value for column \'Shift4Finish\' in table \'CalendarExceptions\' is DBNull.", e);
01856 }
01857 }
01858 set {
01859 this[this.tableCalendarExceptions.Shift4FinishColumn] = value;
01860 }
01861 }
01862
01863 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01864 public int Shift5Start {
01865 get {
01866 try {
01867 return ((int)(this[this.tableCalendarExceptions.Shift5StartColumn]));
01868 }
01869 catch (global::System.InvalidCastException e) {
01870 throw new global::System.Data.StrongTypingException("The value for column \'Shift5Start\' in table \'CalendarExceptions\' is DBNull.", e);
01871 }
01872 }
01873 set {
01874 this[this.tableCalendarExceptions.Shift5StartColumn] = value;
01875 }
01876 }
01877
01878 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01879 public int Shift5Finish {
01880 get {
01881 try {
01882 return ((int)(this[this.tableCalendarExceptions.Shift5FinishColumn]));
01883 }
01884 catch (global::System.InvalidCastException e) {
01885 throw new global::System.Data.StrongTypingException("The value for column \'Shift5Finish\' in table \'CalendarExceptions\' is DBNull.", e);
01886 }
01887 }
01888 set {
01889 this[this.tableCalendarExceptions.Shift5FinishColumn] = value;
01890 }
01891 }
01892
01893 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01894 public int RecurrenceType {
01895 get {
01896 try {
01897 return ((int)(this[this.tableCalendarExceptions.RecurrenceTypeColumn]));
01898 }
01899 catch (global::System.InvalidCastException e) {
01900 throw new global::System.Data.StrongTypingException("The value for column \'RecurrenceType\' in table \'CalendarExceptions\' is DBNull.", e);
01901 }
01902 }
01903 set {
01904 this[this.tableCalendarExceptions.RecurrenceTypeColumn] = value;
01905 }
01906 }
01907
01908 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01909 public int RecurrenceFrequency {
01910 get {
01911 try {
01912 return ((int)(this[this.tableCalendarExceptions.RecurrenceFrequencyColumn]));
01913 }
01914 catch (global::System.InvalidCastException e) {
01915 throw new global::System.Data.StrongTypingException("The value for column \'RecurrenceFrequency\' in table \'CalendarExceptions\' is DBNul" +
01916 "l.", e);
01917 }
01918 }
01919 set {
01920 this[this.tableCalendarExceptions.RecurrenceFrequencyColumn] = value;
01921 }
01922 }
01923
01924 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01925 public int RecurrenceDays {
01926 get {
01927 try {
01928 return ((int)(this[this.tableCalendarExceptions.RecurrenceDaysColumn]));
01929 }
01930 catch (global::System.InvalidCastException e) {
01931 throw new global::System.Data.StrongTypingException("The value for column \'RecurrenceDays\' in table \'CalendarExceptions\' is DBNull.", e);
01932 }
01933 }
01934 set {
01935 this[this.tableCalendarExceptions.RecurrenceDaysColumn] = value;
01936 }
01937 }
01938
01939 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01940 public int RecurrenceMonthDay {
01941 get {
01942 try {
01943 return ((int)(this[this.tableCalendarExceptions.RecurrenceMonthDayColumn]));
01944 }
01945 catch (global::System.InvalidCastException e) {
01946 throw new global::System.Data.StrongTypingException("The value for column \'RecurrenceMonthDay\' in table \'CalendarExceptions\' is DBNull" +
01947 ".", e);
01948 }
01949 }
01950 set {
01951 this[this.tableCalendarExceptions.RecurrenceMonthDayColumn] = value;
01952 }
01953 }
01954
01955 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01956 public int RecurrenceMonth {
01957 get {
01958 try {
01959 return ((int)(this[this.tableCalendarExceptions.RecurrenceMonthColumn]));
01960 }
01961 catch (global::System.InvalidCastException e) {
01962 throw new global::System.Data.StrongTypingException("The value for column \'RecurrenceMonth\' in table \'CalendarExceptions\' is DBNull.", e);
01963 }
01964 }
01965 set {
01966 this[this.tableCalendarExceptions.RecurrenceMonthColumn] = value;
01967 }
01968 }
01969
01970 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01971 public int RecurrencePosition {
01972 get {
01973 try {
01974 return ((int)(this[this.tableCalendarExceptions.RecurrencePositionColumn]));
01975 }
01976 catch (global::System.InvalidCastException e) {
01977 throw new global::System.Data.StrongTypingException("The value for column \'RecurrencePosition\' in table \'CalendarExceptions\' is DBNull" +
01978 ".", e);
01979 }
01980 }
01981 set {
01982 this[this.tableCalendarExceptions.RecurrencePositionColumn] = value;
01983 }
01984 }
01985
01986 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01987 public CalendarsRow CalendarsRow {
01988 get {
01989 return ((CalendarsRow)(this.GetParentRow(this.Table.ParentRelations["CalendarCalendarExceptions"])));
01990 }
01991 set {
01992 this.SetParentRow(value, this.Table.ParentRelations["CalendarCalendarExceptions"]);
01993 }
01994 }
01995
01996 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01997 public bool IsNameNull() {
01998 return this.IsNull(this.tableCalendarExceptions.NameColumn);
01999 }
02000
02001 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
02002 public void SetNameNull() {
02003 this[this.tableCalendarExceptions.NameColumn] = global::System.Convert.DBNull;
02004 }
02005
02006 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
02007 public bool IsStartNull() {
02008 return this.IsNull(this.tableCalendarExceptions.StartColumn);
02009 }
02010
02011 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
02012 public void SetStartNull() {
02013 this[this.tableCalendarExceptions.StartColumn] = global::System.Convert.DBNull;
02014 }
02015
02016 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
02017 public bool IsFinishNull() {
02018 return this.IsNull(this.tableCalendarExceptions.FinishColumn);
02019 }
02020
02021 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
02022 public void SetFinishNull() {
02023 this[this.tableCalendarExceptions.FinishColumn] = global::System.Convert.DBNull;
02024 }
02025
02026 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
02027 public bool IsShift1StartNull() {
02028 return this.IsNull(this.tableCalendarExceptions.Shift1StartColumn);
02029 }
02030
02031 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
02032 public void SetShift1StartNull() {
02033 this[this.tableCalendarExceptions.Shift1StartColumn] = global::System.Convert.DBNull;
02034 }
02035
02036 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
02037 public bool IsShift1FinishNull() {
02038 return this.IsNull(this.tableCalendarExceptions.Shift1FinishColumn);
02039 }
02040
02041 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
02042 public void SetShift1FinishNull() {
02043 this[this.tableCalendarExceptions.Shift1FinishColumn] = global::System.Convert.DBNull;
02044 }
02045
02046 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
02047 public bool IsShift2StartNull() {
02048 return this.IsNull(this.tableCalendarExceptions.Shift2StartColumn);
02049 }
02050
02051 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
02052 public void SetShift2StartNull() {
02053 this[this.tableCalendarExceptions.Shift2StartColumn] = global::System.Convert.DBNull;
02054 }
02055
02056 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
02057 public bool IsShift2FinishNull() {
02058 return this.IsNull(this.tableCalendarExceptions.Shift2FinishColumn);
02059 }
02060
02061 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
02062 public void SetShift2FinishNull() {
02063 this[this.tableCalendarExceptions.Shift2FinishColumn] = global::System.Convert.DBNull;
02064 }
02065
02066 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
02067 public bool IsShift3StartNull() {
02068 return this.IsNull(this.tableCalendarExceptions.Shift3StartColumn);
02069 }
02070
02071 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
02072 public void SetShift3StartNull() {
02073 this[this.tableCalendarExceptions.Shift3StartColumn] = global::System.Convert.DBNull;
02074 }
02075
02076 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
02077 public bool IsShift3FinishNull() {
02078 return this.IsNull(this.tableCalendarExceptions.Shift3FinishColumn);
02079 }
02080
02081 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
02082 public void SetShift3FinishNull() {
02083 this[this.tableCalendarExceptions.Shift3FinishColumn] = global::System.Convert.DBNull;
02084 }
02085
02086 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
02087 public bool IsShift4StartNull() {
02088 return this.IsNull(this.tableCalendarExceptions.Shift4StartColumn);
02089 }
02090
02091 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
02092 public void SetShift4StartNull() {
02093 this[this.tableCalendarExceptions.Shift4StartColumn] = global::System.Convert.DBNull;
02094 }
02095
02096 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
02097 public bool IsShift4FinishNull() {
02098 return this.IsNull(this.tableCalendarExceptions.Shift4FinishColumn);
02099 }
02100
02101 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
02102 public void SetShift4FinishNull() {
02103 this[this.tableCalendarExceptions.Shift4FinishColumn] = global::System.Convert.DBNull;
02104 }
02105
02106 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
02107 public bool IsShift5StartNull() {
02108 return this.IsNull(this.tableCalendarExceptions.Shift5StartColumn);
02109 }
02110
02111 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
02112 public void SetShift5StartNull() {
02113 this[this.tableCalendarExceptions.Shift5StartColumn] = global::System.Convert.DBNull;
02114 }
02115
02116 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
02117 public bool IsShift5FinishNull() {
02118 return this.IsNull(this.tableCalendarExceptions.Shift5FinishColumn);
02119 }
02120
02121 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
02122 public void SetShift5FinishNull() {
02123 this[this.tableCalendarExceptions.Shift5FinishColumn] = global::System.Convert.DBNull;
02124 }
02125
02126 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
02127 public bool IsRecurrenceTypeNull() {
02128 return this.IsNull(this.tableCalendarExceptions.RecurrenceTypeColumn);
02129 }
02130
02131 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
02132 public void SetRecurrenceTypeNull() {
02133 this[this.tableCalendarExceptions.RecurrenceTypeColumn] = global::System.Convert.DBNull;
02134 }
02135
02136 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
02137 public bool IsRecurrenceFrequencyNull() {
02138 return this.IsNull(this.tableCalendarExceptions.RecurrenceFrequencyColumn);
02139 }
02140
02141 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
02142 public void SetRecurrenceFrequencyNull() {
02143 this[this.tableCalendarExceptions.RecurrenceFrequencyColumn] = global::System.Convert.DBNull;
02144 }
02145
02146 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
02147 public bool IsRecurrenceDaysNull() {
02148 return this.IsNull(this.tableCalendarExceptions.RecurrenceDaysColumn);
02149 }
02150
02151 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
02152 public void SetRecurrenceDaysNull() {
02153 this[this.tableCalendarExceptions.RecurrenceDaysColumn] = global::System.Convert.DBNull;
02154 }
02155
02156 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
02157 public bool IsRecurrenceMonthDayNull() {
02158 return this.IsNull(this.tableCalendarExceptions.RecurrenceMonthDayColumn);
02159 }
02160
02161 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
02162 public void SetRecurrenceMonthDayNull() {
02163 this[this.tableCalendarExceptions.RecurrenceMonthDayColumn] = global::System.Convert.DBNull;
02164 }
02165
02166 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
02167 public bool IsRecurrenceMonthNull() {
02168 return this.IsNull(this.tableCalendarExceptions.RecurrenceMonthColumn);
02169 }
02170
02171 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
02172 public void SetRecurrenceMonthNull() {
02173 this[this.tableCalendarExceptions.RecurrenceMonthColumn] = global::System.Convert.DBNull;
02174 }
02175
02176 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
02177 public bool IsRecurrencePositionNull() {
02178 return this.IsNull(this.tableCalendarExceptions.RecurrencePositionColumn);
02179 }
02180
02181 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
02182 public void SetRecurrencePositionNull() {
02183 this[this.tableCalendarExceptions.RecurrencePositionColumn] = global::System.Convert.DBNull;
02184 }
02185 }
02186
02187
02188
02189
02190 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
02191 public class CalendarsRowChangeEvent : global::System.EventArgs {
02192
02193 private CalendarsRow eventRow;
02194
02195 private global::System.Data.DataRowAction eventAction;
02196
02197 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
02198 public CalendarsRowChangeEvent(CalendarsRow row, global::System.Data.DataRowAction action) {
02199 this.eventRow = row;
02200 this.eventAction = action;
02201 }
02202
02203 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
02204 public CalendarsRow Row {
02205 get {
02206 return this.eventRow;
02207 }
02208 }
02209
02210 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
02211 public global::System.Data.DataRowAction Action {
02212 get {
02213 return this.eventAction;
02214 }
02215 }
02216 }
02217
02218
02219
02220
02221 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
02222 public class CalendarExceptionsRowChangeEvent : global::System.EventArgs {
02223
02224 private CalendarExceptionsRow eventRow;
02225
02226 private global::System.Data.DataRowAction eventAction;
02227
02228 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
02229 public CalendarExceptionsRowChangeEvent(CalendarExceptionsRow row, global::System.Data.DataRowAction action) {
02230 this.eventRow = row;
02231 this.eventAction = action;
02232 }
02233
02234 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
02235 public CalendarExceptionsRow Row {
02236 get {
02237 return this.eventRow;
02238 }
02239 }
02240
02241 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
02242 public global::System.Data.DataRowAction Action {
02243 get {
02244 return this.eventAction;
02245 }
02246 }
02247 }
02248 }
02249
02250
02251 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
02252 public delegate void CheckOutCalendarsCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e);
02253
02254
02255 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
02256 public delegate void CheckInCalendarsCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e);
02257
02258
02259 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
02260 public delegate void CreateCalendarsCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e);
02261
02262
02263 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
02264 public delegate void DeleteCalendarsCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e);
02265
02266
02267 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
02268 public delegate void ListCalendarsCompletedEventHandler(object sender, ListCalendarsCompletedEventArgs e);
02269
02270
02271 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
02272 [System.Diagnostics.DebuggerStepThroughAttribute()]
02273 [System.ComponentModel.DesignerCategoryAttribute("code")]
02274 public partial class ListCalendarsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
02275
02276 private object[] results;
02277
02278 internal ListCalendarsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
02279 base(exception, cancelled, userState) {
02280 this.results = results;
02281 }
02282
02283
02284 public CalendarDataSet Result {
02285 get {
02286 this.RaiseExceptionIfNecessary();
02287 return ((CalendarDataSet)(this.results[0]));
02288 }
02289 }
02290 }
02291
02292
02293 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
02294 public delegate void ReadCalendarsCompletedEventHandler(object sender, ReadCalendarsCompletedEventArgs e);
02295
02296
02297 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
02298 [System.Diagnostics.DebuggerStepThroughAttribute()]
02299 [System.ComponentModel.DesignerCategoryAttribute("code")]
02300 public partial class ReadCalendarsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
02301
02302 private object[] results;
02303
02304 internal ReadCalendarsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
02305 base(exception, cancelled, userState) {
02306 this.results = results;
02307 }
02308
02309
02310 public CalendarDataSet Result {
02311 get {
02312 this.RaiseExceptionIfNecessary();
02313 return ((CalendarDataSet)(this.results[0]));
02314 }
02315 }
02316 }
02317
02318
02319 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
02320 public delegate void UpdateCalendarsCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e);
02321 }
02322
02323 #pragma warning restore 1591