Json.NET
Code Coverage Statistics for Source File

Newtonsoft.Json.Tests\FileSystemEntityModel.Designer.cs

Symbol Coverage: 48.89% (44 of 90)

Branch Coverage: 43.59% (17 of 39)

Cyclomatic Complexity Avg: 1.19 Max:2

Code Lines: 111


L V Source
1
//------------------------------------------------------------------------------
2
// <auto-generated>
3
//     This code was generated by a tool.
4
//     Runtime Version:4.0.30319.1
5
//
6
//     Changes to this file may cause incorrect behavior and will be lost if
7
//     the code is regenerated.
8
// </auto-generated>
9
//------------------------------------------------------------------------------
10

  
11
[assembly: global::System.Data.Objects.DataClasses.EdmSchemaAttribute()]
12
[assembly: global::System.Data.Objects.DataClasses.EdmRelationshipAttribute("DataServicesTestDatabaseModel", "FK_File_Folder", "Folder", global::System.Data.Metadata.Edm.RelationshipMultiplicity.One, typeof(Newtonsoft.Json.Tests.Folder), "File", global::System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(Newtonsoft.Json.Tests.File))]
13
[assembly: global::System.Data.Objects.DataClasses.EdmRelationshipAttribute("DataServicesTestDatabaseModel", "FK_Folder_Folder", "Folder", global::System.Data.Metadata.Edm.RelationshipMultiplicity.ZeroOrOne, typeof(Newtonsoft.Json.Tests.Folder), "Folder1", global::System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(Newtonsoft.Json.Tests.Folder))]
14

  
15
// Original file name:
16
// Generation date: 6/22/2010 12:14:56 PM
17
namespace Newtonsoft.Json.Tests
18
{
19
    
20
    /// <summary>
21
    /// There are no comments for DataServicesTestDatabaseEntities in the schema.
22
    /// </summary>
23
    public partial class DataServicesTestDatabaseEntities : global::System.Data.Objects.ObjectContext
24
    {
25
        /// <summary>
26
        /// Initializes a new DataServicesTestDatabaseEntities object using the connection string found in the 'DataServicesTestDatabaseEntities' section of the application configuration file.
27
        /// </summary>
28
 0
        public DataServicesTestDatabaseEntities() : 
29
 0
                base("name=DataServicesTestDatabaseEntities", "DataServicesTestDatabaseEntities")
30
        {
31
            this.OnContextCreated();
32
 0
        }
33
        /// <summary>
34
        /// Initialize a new DataServicesTestDatabaseEntities object.
35
        /// </summary>
36
 0
        public DataServicesTestDatabaseEntities(string connectionString) : 
37
 0
                base(connectionString, "DataServicesTestDatabaseEntities")
38
        {
39
            this.OnContextCreated();
40
 0
        }
41
        /// <summary>
42
        /// Initialize a new DataServicesTestDatabaseEntities object.
43
        /// </summary>
44
 0
        public DataServicesTestDatabaseEntities(global::System.Data.EntityClient.EntityConnection connection) : 
45
 0
                base(connection, "DataServicesTestDatabaseEntities")
46
        {
47
            this.OnContextCreated();
48
 0
        }
49
        partial void OnContextCreated();
50
        /// <summary>
51
        /// There are no comments for File in the schema.
52
        /// </summary>
53
        [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
54
        public global::System.Data.Objects.ObjectQuery<File> File
55
        {
56
            get
57
            {
58
 0
                if ((this._File == null))
59
                {
60
 0
                    this._File = base.CreateQuery<File>("[File]");
61
                }
62
 0
                return this._File;
63
 0
            }
64
        }
65
        [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
66
        private global::System.Data.Objects.ObjectQuery<File> _File;
67
        /// <summary>
68
        /// There are no comments for Folder in the schema.
69
        /// </summary>
70
        [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
71
        public global::System.Data.Objects.ObjectQuery<Folder> Folder
72
        {
73
            get
74
            {
75
 0
                if ((this._Folder == null))
76
                {
77
 0
                    this._Folder = base.CreateQuery<Folder>("[Folder]");
78
                }
79
 0
                return this._Folder;
80
 0
            }
81
        }
82
        [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
83
        private global::System.Data.Objects.ObjectQuery<Folder> _Folder;
84
        /// <summary>
85
        /// There are no comments for File in the schema.
86
        /// </summary>
87
        [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
88
        public void AddToFile(File file)
89
        {
90
 0
            base.AddObject("File", file);
91
 0
        }
92
        /// <summary>
93
        /// There are no comments for Folder in the schema.
94
        /// </summary>
95
        [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
96
        public void AddToFolder(Folder folder)
97
        {
98
 0
            base.AddObject("Folder", folder);
99
 0
        }
100
    }
101
    /// <summary>
102
    /// There are no comments for DataServicesTestDatabaseModel.File in the schema.
103
    /// </summary>
104
    /// <KeyProperties>
105
    /// FileId
106
    /// </KeyProperties>
107
    [global::System.Data.Objects.DataClasses.EdmEntityTypeAttribute(NamespaceName="DataServicesTestDatabaseModel", Name="File")]
108
    [global::System.Runtime.Serialization.DataContractAttribute(IsReference=true)]
109
    [global::System.Serializable()]
110
    public partial class File : global::System.Data.Objects.DataClasses.EntityObject
111
    {
112
        /// <summary>
113
        /// Create a new File object.
114
        /// </summary>
115
        /// <param name="fileId">Initial value of FileId.</param>
116
        /// <param name="name">Initial value of Name.</param>
117
        /// <param name="description">Initial value of Description.</param>
118
        /// <param name="createdDate">Initial value of CreatedDate.</param>
119
        [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
120
        public static File CreateFile(global::System.Guid fileId, string name, string description, global::System.DateTime createdDate)
121
        {
122
 0
            File file = new File();
123
 0
            file.FileId = fileId;
124
 0
            file.Name = name;
125
 0
            file.Description = description;
126
 0
            file.CreatedDate = createdDate;
127
 0
            return file;
128
 0
        }
129
        /// <summary>
130
        /// There are no comments for property FileId in the schema.
131
        /// </summary>
132
        [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute(EntityKeyProperty=true, IsNullable=false)]
133
        [global::System.Runtime.Serialization.DataMemberAttribute()]
134
        [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
135
        public global::System.Guid FileId
136
        {
137
            get
138
            {
139
 2
                return this._FileId;
140
 2
            }
141
            set
142
            {
143
                this.OnFileIdChanging(value);
144
 2
                this.ReportPropertyChanging("FileId");
145
 2
                this._FileId = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value);
146
 2
                this.ReportPropertyChanged("FileId");
147
                this.OnFileIdChanged();
148
 2
            }
149
        }
150
        [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
151
        private global::System.Guid _FileId;
152
        [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
153
        partial void OnFileIdChanging(global::System.Guid value);
154
        [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
155
        partial void OnFileIdChanged();
156
        /// <summary>
157
        /// There are no comments for property Name in the schema.
158
        /// </summary>
159
        [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute(IsNullable=false)]
160
        [global::System.Runtime.Serialization.DataMemberAttribute()]
161
        [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
162
        public string Name
163
        {
164
            get
165
            {
166
 1
                return this._Name;
167
 1
            }
168
            set
169
            {
170
                this.OnNameChanging(value);
171
 2
                this.ReportPropertyChanging("Name");
172
 2
                this._Name = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, false);
173
 2
                this.ReportPropertyChanged("Name");
174
                this.OnNameChanged();
175
 2
            }
176
        }
177
        [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
178
        private string _Name;
179
        [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
180
        partial void OnNameChanging(string value);
181
        [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
182
        partial void OnNameChanged();
183
        /// <summary>
184
        /// There are no comments for property Description in the schema.
185
        /// </summary>
186
        [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute(IsNullable=false)]
187
        [global::System.Runtime.Serialization.DataMemberAttribute()]
188
        [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
189
        public string Description
190
        {
191
            get
192
            {
193
 1
                return this._Description;
194
 1
            }
195
            set
196
            {
197
                this.OnDescriptionChanging(value);
198
 2
                this.ReportPropertyChanging("Description");
199
 2
                this._Description = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, false);
200
 2
                this.ReportPropertyChanged("Description");
201
                this.OnDescriptionChanged();
202
 2
            }
203
        }
204
        [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
205
        private string _Description;
206
        [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
207
        partial void OnDescriptionChanging(string value);
208
        [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
209
        partial void OnDescriptionChanged();
210
        /// <summary>
211
        /// There are no comments for property CreatedDate in the schema.
212
        /// </summary>
213
        [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute(IsNullable=false)]
214
        [global::System.Runtime.Serialization.DataMemberAttribute()]
215
        [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
216
        public global::System.DateTime CreatedDate
217
        {
218
            get
219
            {
220
 2
                return this._CreatedDate;
221
 2
            }
222
            set
223
            {
224
                this.OnCreatedDateChanging(value);
225
 2
                this.ReportPropertyChanging("CreatedDate");
226
 2
                this._CreatedDate = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value);
227
 2
                this.ReportPropertyChanged("CreatedDate");
228
                this.OnCreatedDateChanged();
229
 2
            }
230
        }
231
        [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
232
        private global::System.DateTime _CreatedDate;
233
        [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
234
        partial void OnCreatedDateChanging(global::System.DateTime value);
235
        [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
236
        partial void OnCreatedDateChanged();
237
        /// <summary>
238
        /// There are no comments for Folder in the schema.
239
        /// </summary>
240
        [global::System.Data.Objects.DataClasses.EdmRelationshipNavigationPropertyAttribute("DataServicesTestDatabaseModel", "FK_File_Folder", "Folder")]
241
        [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
242
        [global::System.Xml.Serialization.XmlIgnoreAttribute()]
243
        [global::System.Xml.Serialization.SoapIgnoreAttribute()]
244
        [global::System.Runtime.Serialization.DataMemberAttribute()]
245
        public Folder Folder
246
        {
247
            get
248
            {
249
 2
                return ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedReference<Folder>("DataServicesTestDatabaseModel.FK_File_Folder", "Folder").Value;
250
 2
            }
251
            set
252
            {
253
 1
                ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedReference<Folder>("DataServicesTestDatabaseModel.FK_File_Folder", "Folder").Value = value;
254
 1
            }
255
        }
256
        /// <summary>
257
        /// There are no comments for Folder in the schema.
258
        /// </summary>
259
        [global::System.ComponentModel.BrowsableAttribute(false)]
260
        [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
261
        [global::System.Runtime.Serialization.DataMemberAttribute()]
262
        public global::System.Data.Objects.DataClasses.EntityReference<Folder> FolderReference
263
        {
264
            get
265
            {
266
 0
                return ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedReference<Folder>("DataServicesTestDatabaseModel.FK_File_Folder", "Folder");
267
 0
            }
268
            set
269
            {
270
 0
                if ((value != null))
271
                {
272
 0
                    ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.InitializeRelatedReference<Folder>("DataServicesTestDatabaseModel.FK_File_Folder", "Folder", value);
273
                }
274
 0
            }
275
        }
276
    }
277
    /// <summary>
278
    /// There are no comments for DataServicesTestDatabaseModel.Folder in the schema.
279
    /// </summary>
280
    /// <KeyProperties>
281
    /// FolderId
282
    /// </KeyProperties>
283
    [global::System.Data.Objects.DataClasses.EdmEntityTypeAttribute(NamespaceName="DataServicesTestDatabaseModel", Name="Folder")]
284
    [global::System.Runtime.Serialization.DataContractAttribute(IsReference=true)]
285
    [global::System.Serializable()]
286
    public partial class Folder : global::System.Data.Objects.DataClasses.EntityObject
287
    {
288
        /// <summary>
289
        /// Create a new Folder object.
290
        /// </summary>
291
        /// <param name="folderId">Initial value of FolderId.</param>
292
        /// <param name="name">Initial value of Name.</param>
293
        /// <param name="description">Initial value of Description.</param>
294
        /// <param name="createdDate">Initial value of CreatedDate.</param>
295
        [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
296
        public static Folder CreateFolder(global::System.Guid folderId, string name, string description, global::System.DateTime createdDate)
297
        {
298
 0
            Folder folder = new Folder();
299
 0
            folder.FolderId = folderId;
300
 0
            folder.Name = name;
301
 0
            folder.Description = description;
302
 0
            folder.CreatedDate = createdDate;
303
 0
            return folder;
304
 0
        }
305
        /// <summary>
306
        /// There are no comments for property FolderId in the schema.
307
        /// </summary>
308
        [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute(EntityKeyProperty=true, IsNullable=false)]
309
        [global::System.Runtime.Serialization.DataMemberAttribute()]
310
        [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
311
        public global::System.Guid FolderId
312
        {
313
            get
314
            {
315
 5
                return this._FolderId;
316
 5
            }
317
            set
318
            {
319
                this.OnFolderIdChanging(value);
320
 4
                this.ReportPropertyChanging("FolderId");
321
 4
                this._FolderId = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value);
322
 4
                this.ReportPropertyChanged("FolderId");
323
                this.OnFolderIdChanged();
324
 4
            }
325
        }
326
        [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
327
        private global::System.Guid _FolderId;
328
        [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
329
        partial void OnFolderIdChanging(global::System.Guid value);
330
        [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
331
        partial void OnFolderIdChanged();
332
        /// <summary>
333
        /// There are no comments for property Name in the schema.
334
        /// </summary>
335
        [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute(IsNullable=false)]
336
        [global::System.Runtime.Serialization.DataMemberAttribute()]
337
        [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
338
        public string Name
339
        {
340
            get
341
            {
342
 4
                return this._Name;
343
 4
            }
344
            set
345
            {
346
                this.OnNameChanging(value);
347
 4
                this.ReportPropertyChanging("Name");
348
 4
                this._Name = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, false);
349
 4
                this.ReportPropertyChanged("Name");
350
                this.OnNameChanged();
351
 4
            }
352
        }
353
        [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
354
        private string _Name;
355
        [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
356
        partial void OnNameChanging(string value);
357
        [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
358
        partial void OnNameChanged();
359
        /// <summary>
360
        /// There are no comments for property Description in the schema.
361
        /// </summary>
362
        [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute(IsNullable=false)]
363
        [global::System.Runtime.Serialization.DataMemberAttribute()]
364
        [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
365
        public string Description
366
        {
367
            get
368
            {
369
 3
                return this._Description;
370
 3
            }
371
            set
372
            {
373
                this.OnDescriptionChanging(value);
374
 4
                this.ReportPropertyChanging("Description");
375
 4
                this._Description = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, false);
376
 4
                this.ReportPropertyChanged("Description");
377
                this.OnDescriptionChanged();
378
 4
            }
379
        }
380
        [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
381
        private string _Description;
382
        [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
383
        partial void OnDescriptionChanging(string value);
384
        [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
385
        partial void OnDescriptionChanged();
386
        /// <summary>
387
        /// There are no comments for property CreatedDate in the schema.
388
        /// </summary>
389
        [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute(IsNullable=false)]
390
        [global::System.Runtime.Serialization.DataMemberAttribute()]
391
        [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
392
        public global::System.DateTime CreatedDate
393
        {
394
            get
395
            {
396
 5
                return this._CreatedDate;
397
 5
            }
398
            set
399
            {
400
                this.OnCreatedDateChanging(value);
401
 4
                this.ReportPropertyChanging("CreatedDate");
402
 4
                this._CreatedDate = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value);
403
 4
                this.ReportPropertyChanged("CreatedDate");
404
                this.OnCreatedDateChanged();
405
 4
            }
406
        }
407
        [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
408
        private global::System.DateTime _CreatedDate;
409
        [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
410
        partial void OnCreatedDateChanging(global::System.DateTime value);
411
        [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
412
        partial void OnCreatedDateChanged();
413
        /// <summary>
414
        /// There are no comments for Files in the schema.
415
        /// </summary>
416
        [global::System.Data.Objects.DataClasses.EdmRelationshipNavigationPropertyAttribute("DataServicesTestDatabaseModel", "FK_File_Folder", "File")]
417
        [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
418
        [global::System.Xml.Serialization.XmlIgnoreAttribute()]
419
        [global::System.Xml.Serialization.SoapIgnoreAttribute()]
420
        [global::System.Runtime.Serialization.DataMemberAttribute()]
421
        public global::System.Data.Objects.DataClasses.EntityCollection<File> Files
422
        {
423
            get
424
            {
425
 5
                return ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedCollection<File>("DataServicesTestDatabaseModel.FK_File_Folder", "File");
426
 5
            }
427
            set
428
            {
429
 0
                if ((value != null))
430
                {
431
 0
                    ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.InitializeRelatedCollection<File>("DataServicesTestDatabaseModel.FK_File_Folder", "File", value);
432
                }
433
 0
            }
434
        }
435
        /// <summary>
436
        /// There are no comments for ChildFolders in the schema.
437
        /// </summary>
438
        [global::System.Data.Objects.DataClasses.EdmRelationshipNavigationPropertyAttribute("DataServicesTestDatabaseModel", "FK_Folder_Folder", "Folder1")]
439
        [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
440
        [global::System.Xml.Serialization.XmlIgnoreAttribute()]
441
        [global::System.Xml.Serialization.SoapIgnoreAttribute()]
442
        [global::System.Runtime.Serialization.DataMemberAttribute()]
443
        public global::System.Data.Objects.DataClasses.EntityCollection<Folder> ChildFolders
444
        {
445
            get
446
            {
447
 7
                return ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedCollection<Folder>("DataServicesTestDatabaseModel.FK_Folder_Folder", "Folder1");
448
 7
            }
449
            set
450
            {
451
 0
                if ((value != null))
452
                {
453
 0
                    ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.InitializeRelatedCollection<Folder>("DataServicesTestDatabaseModel.FK_Folder_Folder", "Folder1", value);
454
                }
455
 0
            }
456
        }
457
        /// <summary>
458
        /// There are no comments for ParentFolder in the schema.
459
        /// </summary>
460
        [global::System.Data.Objects.DataClasses.EdmRelationshipNavigationPropertyAttribute("DataServicesTestDatabaseModel", "FK_Folder_Folder", "Folder")]
461
        [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
462
        [global::System.Xml.Serialization.XmlIgnoreAttribute()]
463
        [global::System.Xml.Serialization.SoapIgnoreAttribute()]
464
        [global::System.Runtime.Serialization.DataMemberAttribute()]
465
        public Folder ParentFolder
466
        {
467
            get
468
            {
469
 5
                return ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedReference<Folder>("DataServicesTestDatabaseModel.FK_Folder_Folder", "Folder").Value;
470
 5
            }
471
            set
472
            {
473
 2
                ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedReference<Folder>("DataServicesTestDatabaseModel.FK_Folder_Folder", "Folder").Value = value;
474
 2
            }
475
        }
476
        /// <summary>
477
        /// There are no comments for ParentFolder in the schema.
478
        /// </summary>
479
        [global::System.ComponentModel.BrowsableAttribute(false)]
480
        [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
481
        [global::System.Runtime.Serialization.DataMemberAttribute()]
482
        public global::System.Data.Objects.DataClasses.EntityReference<Folder> ParentFolderReference
483
        {
484
            get
485
            {
486
 2
                return ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedReference<Folder>("DataServicesTestDatabaseModel.FK_Folder_Folder", "Folder");
487
 2
            }
488
            set
489
            {
490
 0
                if ((value != null))
491
                {
492
 0
                    ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.InitializeRelatedReference<Folder>("DataServicesTestDatabaseModel.FK_Folder_Folder", "Folder", value);
493
                }
494
 0
            }
495
        }
496
    }
497
}