| 11 | | [assembly: global::System.Data.Objects.DataClasses.EdmSchemaAttribute()] |
| 12 | | |
| 13 | | // Original file name: |
| 14 | | // Generation date: 2/02/2010 4:28:20 PM |
| | 10 | using System; |
| | 11 | using System.Data.Objects; |
| | 12 | using System.Data.Objects.DataClasses; |
| | 13 | using System.Data.EntityClient; |
| | 14 | using System.ComponentModel; |
| | 15 | using System.Xml.Serialization; |
| | 16 | using System.Runtime.Serialization; |
| | 17 | |
| | 18 | [assembly: EdmSchemaAttribute()] |
| | 19 | |
| 48 | | /// <summary> |
| 49 | | /// There are no comments for Attributes in the schema. |
| 50 | | /// </summary> |
| 51 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| 52 | | public global::System.Data.Objects.ObjectQuery<Attribute> Attributes |
| 53 | | { |
| 54 | | get |
| 55 | | { |
| 56 | | if ((this._Attributes == null)) |
| | 60 | |
| | 61 | #endregion |
| | 62 | |
| | 63 | #region ObjectSet Properties |
| | 64 | |
| | 65 | /// <summary> |
| | 66 | /// No Metadata Documentation available. |
| | 67 | /// </summary> |
| | 68 | public ObjectSet<Attribute> Attributes |
| | 69 | { |
| | 70 | get |
| | 71 | { |
| | 72 | if ((_Attributes == null)) |
| 60 | | return this._Attributes; |
| 61 | | } |
| 62 | | } |
| 63 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| 64 | | private global::System.Data.Objects.ObjectQuery<Attribute> _Attributes; |
| 65 | | /// <summary> |
| 66 | | /// There are no comments for Measurements in the schema. |
| 67 | | /// </summary> |
| 68 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| 69 | | public global::System.Data.Objects.ObjectQuery<Measurement> Measurements |
| 70 | | { |
| 71 | | get |
| 72 | | { |
| 73 | | if ((this._Measurements == null)) |
| | 76 | return _Attributes; |
| | 77 | } |
| | 78 | } |
| | 79 | private ObjectSet<Attribute> _Attributes; |
| | 80 | |
| | 81 | /// <summary> |
| | 82 | /// No Metadata Documentation available. |
| | 83 | /// </summary> |
| | 84 | public ObjectSet<Measurement> Measurements |
| | 85 | { |
| | 86 | get |
| | 87 | { |
| | 88 | if ((_Measurements == null)) |
| 77 | | return this._Measurements; |
| 78 | | } |
| 79 | | } |
| 80 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| 81 | | private global::System.Data.Objects.ObjectQuery<Measurement> _Measurements; |
| 82 | | /// <summary> |
| 83 | | /// There are no comments for Profiles in the schema. |
| 84 | | /// </summary> |
| 85 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| 86 | | public global::System.Data.Objects.ObjectQuery<Profile> Profiles |
| 87 | | { |
| 88 | | get |
| 89 | | { |
| 90 | | if ((this._Profiles == null)) |
| | 92 | return _Measurements; |
| | 93 | } |
| | 94 | } |
| | 95 | private ObjectSet<Measurement> _Measurements; |
| | 96 | |
| | 97 | /// <summary> |
| | 98 | /// No Metadata Documentation available. |
| | 99 | /// </summary> |
| | 100 | public ObjectSet<Profile> Profiles |
| | 101 | { |
| | 102 | get |
| | 103 | { |
| | 104 | if ((_Profiles == null)) |
| 94 | | return this._Profiles; |
| 95 | | } |
| 96 | | } |
| 97 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| 98 | | private global::System.Data.Objects.ObjectQuery<Profile> _Profiles; |
| 99 | | /// <summary> |
| 100 | | /// There are no comments for Users in the schema. |
| 101 | | /// </summary> |
| 102 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| 103 | | public global::System.Data.Objects.ObjectQuery<User> Users |
| 104 | | { |
| 105 | | get |
| 106 | | { |
| 107 | | if ((this._Users == null)) |
| | 108 | return _Profiles; |
| | 109 | } |
| | 110 | } |
| | 111 | private ObjectSet<Profile> _Profiles; |
| | 112 | |
| | 113 | /// <summary> |
| | 114 | /// No Metadata Documentation available. |
| | 115 | /// </summary> |
| | 116 | public ObjectSet<User> Users |
| | 117 | { |
| | 118 | get |
| | 119 | { |
| | 120 | if ((_Users == null)) |
| 152 | | /// <KeyProperties> |
| 153 | | /// id |
| 154 | | /// </KeyProperties> |
| 155 | | [global::System.Data.Objects.DataClasses.EdmEntityTypeAttribute(NamespaceName="FitStylrModel", Name="Attribute")] |
| 156 | | [global::System.Runtime.Serialization.DataContractAttribute(IsReference=true)] |
| 157 | | [global::System.Serializable()] |
| 158 | | public partial class Attribute : global::System.Data.Objects.DataClasses.EntityObject |
| | 175 | [EdmEntityTypeAttribute(NamespaceName="FitStylrModel", Name="Attribute")] |
| | 176 | [Serializable()] |
| | 177 | [DataContractAttribute(IsReference=true)] |
| | 178 | public partial class Attribute : EntityObject |
| 163 | | /// <param name="id">Initial value of id.</param> |
| 164 | | /// <param name="name">Initial value of name.</param> |
| 165 | | /// <param name="description">Initial value of description.</param> |
| 166 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| 167 | | public static Attribute CreateAttribute(int id, string name, string description) |
| | 185 | /// <param name="id">Initial value of the id property.</param> |
| | 186 | /// <param name="name">Initial value of the name property.</param> |
| | 187 | /// <param name="description">Initial value of the description property.</param> |
| | 188 | public static Attribute CreateAttribute(global::System.Int32 id, global::System.String name, global::System.String description) |
| 175 | | /// <summary> |
| 176 | | /// There are no comments for property id in the schema. |
| 177 | | /// </summary> |
| 178 | | [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute(EntityKeyProperty=true, IsNullable=false)] |
| 179 | | [global::System.Runtime.Serialization.DataMemberAttribute()] |
| 180 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| 181 | | public int id |
| 182 | | { |
| 183 | | get |
| 184 | | { |
| 185 | | return this._id; |
| 186 | | } |
| 187 | | set |
| 188 | | { |
| 189 | | this.OnidChanging(value); |
| 190 | | this.ReportPropertyChanging("id"); |
| 191 | | this._id = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value); |
| 192 | | this.ReportPropertyChanged("id"); |
| 193 | | this.OnidChanged(); |
| 194 | | } |
| 195 | | } |
| 196 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| 197 | | private int _id; |
| 198 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| 199 | | partial void OnidChanging(int value); |
| 200 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| | 196 | |
| | 197 | #endregion |
| | 198 | #region Primitive Properties |
| | 199 | |
| | 200 | /// <summary> |
| | 201 | /// No Metadata Documentation available. |
| | 202 | /// </summary> |
| | 203 | [EdmScalarPropertyAttribute(EntityKeyProperty=true, IsNullable=false)] |
| | 204 | [DataMemberAttribute()] |
| | 205 | public global::System.Int32 id |
| | 206 | { |
| | 207 | get |
| | 208 | { |
| | 209 | return _id; |
| | 210 | } |
| | 211 | set |
| | 212 | { |
| | 213 | if (_id != value) |
| | 214 | { |
| | 215 | OnidChanging(value); |
| | 216 | ReportPropertyChanging("id"); |
| | 217 | _id = StructuralObject.SetValidValue(value); |
| | 218 | ReportPropertyChanged("id"); |
| | 219 | OnidChanged(); |
| | 220 | } |
| | 221 | } |
| | 222 | } |
| | 223 | private global::System.Int32 _id; |
| | 224 | partial void OnidChanging(global::System.Int32 value); |
| 202 | | /// <summary> |
| 203 | | /// There are no comments for property name in the schema. |
| 204 | | /// </summary> |
| 205 | | [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute(IsNullable=false)] |
| 206 | | [global::System.Runtime.Serialization.DataMemberAttribute()] |
| 207 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| 208 | | public string name |
| 209 | | { |
| 210 | | get |
| 211 | | { |
| 212 | | return this._name; |
| 213 | | } |
| 214 | | set |
| 215 | | { |
| 216 | | this.OnnameChanging(value); |
| 217 | | this.ReportPropertyChanging("name"); |
| 218 | | this._name = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, false); |
| 219 | | this.ReportPropertyChanged("name"); |
| 220 | | this.OnnameChanged(); |
| 221 | | } |
| 222 | | } |
| 223 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| 224 | | private string _name; |
| 225 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| 226 | | partial void OnnameChanging(string value); |
| 227 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| | 226 | |
| | 227 | /// <summary> |
| | 228 | /// No Metadata Documentation available. |
| | 229 | /// </summary> |
| | 230 | [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)] |
| | 231 | [DataMemberAttribute()] |
| | 232 | public global::System.String name |
| | 233 | { |
| | 234 | get |
| | 235 | { |
| | 236 | return _name; |
| | 237 | } |
| | 238 | set |
| | 239 | { |
| | 240 | OnnameChanging(value); |
| | 241 | ReportPropertyChanging("name"); |
| | 242 | _name = StructuralObject.SetValidValue(value, false); |
| | 243 | ReportPropertyChanged("name"); |
| | 244 | OnnameChanged(); |
| | 245 | } |
| | 246 | } |
| | 247 | private global::System.String _name; |
| | 248 | partial void OnnameChanging(global::System.String value); |
| 229 | | /// <summary> |
| 230 | | /// There are no comments for property description in the schema. |
| 231 | | /// </summary> |
| 232 | | [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute(IsNullable=false)] |
| 233 | | [global::System.Runtime.Serialization.DataMemberAttribute()] |
| 234 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| 235 | | public string description |
| 236 | | { |
| 237 | | get |
| 238 | | { |
| 239 | | return this._description; |
| 240 | | } |
| 241 | | set |
| 242 | | { |
| 243 | | this.OndescriptionChanging(value); |
| 244 | | this.ReportPropertyChanging("description"); |
| 245 | | this._description = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, false); |
| 246 | | this.ReportPropertyChanged("description"); |
| 247 | | this.OndescriptionChanged(); |
| 248 | | } |
| 249 | | } |
| 250 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| 251 | | private string _description; |
| 252 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| 253 | | partial void OndescriptionChanging(string value); |
| 254 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| | 250 | |
| | 251 | /// <summary> |
| | 252 | /// No Metadata Documentation available. |
| | 253 | /// </summary> |
| | 254 | [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)] |
| | 255 | [DataMemberAttribute()] |
| | 256 | public global::System.String description |
| | 257 | { |
| | 258 | get |
| | 259 | { |
| | 260 | return _description; |
| | 261 | } |
| | 262 | set |
| | 263 | { |
| | 264 | OndescriptionChanging(value); |
| | 265 | ReportPropertyChanging("description"); |
| | 266 | _description = StructuralObject.SetValidValue(value, false); |
| | 267 | ReportPropertyChanged("description"); |
| | 268 | OndescriptionChanged(); |
| | 269 | } |
| | 270 | } |
| | 271 | private global::System.String _description; |
| | 272 | partial void OndescriptionChanging(global::System.String value); |
| 260 | | /// <KeyProperties> |
| 261 | | /// id |
| 262 | | /// </KeyProperties> |
| 263 | | [global::System.Data.Objects.DataClasses.EdmEntityTypeAttribute(NamespaceName="FitStylrModel", Name="Measurement")] |
| 264 | | [global::System.Runtime.Serialization.DataContractAttribute(IsReference=true)] |
| 265 | | [global::System.Serializable()] |
| 266 | | public partial class Measurement : global::System.Data.Objects.DataClasses.EntityObject |
| | 282 | [EdmEntityTypeAttribute(NamespaceName="FitStylrModel", Name="Measurement")] |
| | 283 | [Serializable()] |
| | 284 | [DataContractAttribute(IsReference=true)] |
| | 285 | public partial class Measurement : EntityObject |
| 271 | | /// <param name="id">Initial value of id.</param> |
| 272 | | /// <param name="userId">Initial value of userId.</param> |
| 273 | | /// <param name="attributeId">Initial value of attributeId.</param> |
| 274 | | /// <param name="value">Initial value of value.</param> |
| 275 | | /// <param name="date">Initial value of date.</param> |
| 276 | | /// <param name="is_latest">Initial value of is_latest.</param> |
| 277 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| 278 | | public static Measurement CreateMeasurement(int id, int userId, int attributeId, decimal value, global::System.DateTime date, bool is_latest) |
| | 292 | /// <param name="id">Initial value of the id property.</param> |
| | 293 | /// <param name="userId">Initial value of the userId property.</param> |
| | 294 | /// <param name="attributeId">Initial value of the attributeId property.</param> |
| | 295 | /// <param name="value">Initial value of the value property.</param> |
| | 296 | /// <param name="date">Initial value of the date property.</param> |
| | 297 | /// <param name="is_latest">Initial value of the is_latest property.</param> |
| | 298 | public static Measurement CreateMeasurement(global::System.Int32 id, global::System.Int32 userId, global::System.Int32 attributeId, global::System.Decimal value, global::System.DateTime date, global::System.Boolean is_latest) |
| 289 | | /// <summary> |
| 290 | | /// There are no comments for property id in the schema. |
| 291 | | /// </summary> |
| 292 | | [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute(EntityKeyProperty=true, IsNullable=false)] |
| 293 | | [global::System.Runtime.Serialization.DataMemberAttribute()] |
| 294 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| 295 | | public int id |
| 296 | | { |
| 297 | | get |
| 298 | | { |
| 299 | | return this._id; |
| 300 | | } |
| 301 | | set |
| 302 | | { |
| 303 | | this.OnidChanging(value); |
| 304 | | this.ReportPropertyChanging("id"); |
| 305 | | this._id = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value); |
| 306 | | this.ReportPropertyChanged("id"); |
| 307 | | this.OnidChanged(); |
| 308 | | } |
| 309 | | } |
| 310 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| 311 | | private int _id; |
| 312 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| 313 | | partial void OnidChanging(int value); |
| 314 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| | 309 | |
| | 310 | #endregion |
| | 311 | #region Primitive Properties |
| | 312 | |
| | 313 | /// <summary> |
| | 314 | /// No Metadata Documentation available. |
| | 315 | /// </summary> |
| | 316 | [EdmScalarPropertyAttribute(EntityKeyProperty=true, IsNullable=false)] |
| | 317 | [DataMemberAttribute()] |
| | 318 | public global::System.Int32 id |
| | 319 | { |
| | 320 | get |
| | 321 | { |
| | 322 | return _id; |
| | 323 | } |
| | 324 | set |
| | 325 | { |
| | 326 | if (_id != value) |
| | 327 | { |
| | 328 | OnidChanging(value); |
| | 329 | ReportPropertyChanging("id"); |
| | 330 | _id = StructuralObject.SetValidValue(value); |
| | 331 | ReportPropertyChanged("id"); |
| | 332 | OnidChanged(); |
| | 333 | } |
| | 334 | } |
| | 335 | } |
| | 336 | private global::System.Int32 _id; |
| | 337 | partial void OnidChanging(global::System.Int32 value); |
| 316 | | /// <summary> |
| 317 | | /// There are no comments for property userId in the schema. |
| 318 | | /// </summary> |
| 319 | | [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute(IsNullable=false)] |
| 320 | | [global::System.Runtime.Serialization.DataMemberAttribute()] |
| 321 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| 322 | | public int userId |
| 323 | | { |
| 324 | | get |
| 325 | | { |
| 326 | | return this._userId; |
| 327 | | } |
| 328 | | set |
| 329 | | { |
| 330 | | this.OnuserIdChanging(value); |
| 331 | | this.ReportPropertyChanging("userId"); |
| 332 | | this._userId = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value); |
| 333 | | this.ReportPropertyChanged("userId"); |
| 334 | | this.OnuserIdChanged(); |
| 335 | | } |
| 336 | | } |
| 337 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| 338 | | private int _userId; |
| 339 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| 340 | | partial void OnuserIdChanging(int value); |
| 341 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| | 339 | |
| | 340 | /// <summary> |
| | 341 | /// No Metadata Documentation available. |
| | 342 | /// </summary> |
| | 343 | [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)] |
| | 344 | [DataMemberAttribute()] |
| | 345 | public global::System.Int32 userId |
| | 346 | { |
| | 347 | get |
| | 348 | { |
| | 349 | return _userId; |
| | 350 | } |
| | 351 | set |
| | 352 | { |
| | 353 | OnuserIdChanging(value); |
| | 354 | ReportPropertyChanging("userId"); |
| | 355 | _userId = StructuralObject.SetValidValue(value); |
| | 356 | ReportPropertyChanged("userId"); |
| | 357 | OnuserIdChanged(); |
| | 358 | } |
| | 359 | } |
| | 360 | private global::System.Int32 _userId; |
| | 361 | partial void OnuserIdChanging(global::System.Int32 value); |
| 343 | | /// <summary> |
| 344 | | /// There are no comments for property attributeId in the schema. |
| 345 | | /// </summary> |
| 346 | | [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute(IsNullable=false)] |
| 347 | | [global::System.Runtime.Serialization.DataMemberAttribute()] |
| 348 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| 349 | | public int attributeId |
| 350 | | { |
| 351 | | get |
| 352 | | { |
| 353 | | return this._attributeId; |
| 354 | | } |
| 355 | | set |
| 356 | | { |
| 357 | | this.OnattributeIdChanging(value); |
| 358 | | this.ReportPropertyChanging("attributeId"); |
| 359 | | this._attributeId = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value); |
| 360 | | this.ReportPropertyChanged("attributeId"); |
| 361 | | this.OnattributeIdChanged(); |
| 362 | | } |
| 363 | | } |
| 364 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| 365 | | private int _attributeId; |
| 366 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| 367 | | partial void OnattributeIdChanging(int value); |
| 368 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| | 363 | |
| | 364 | /// <summary> |
| | 365 | /// No Metadata Documentation available. |
| | 366 | /// </summary> |
| | 367 | [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)] |
| | 368 | [DataMemberAttribute()] |
| | 369 | public global::System.Int32 attributeId |
| | 370 | { |
| | 371 | get |
| | 372 | { |
| | 373 | return _attributeId; |
| | 374 | } |
| | 375 | set |
| | 376 | { |
| | 377 | OnattributeIdChanging(value); |
| | 378 | ReportPropertyChanging("attributeId"); |
| | 379 | _attributeId = StructuralObject.SetValidValue(value); |
| | 380 | ReportPropertyChanged("attributeId"); |
| | 381 | OnattributeIdChanged(); |
| | 382 | } |
| | 383 | } |
| | 384 | private global::System.Int32 _attributeId; |
| | 385 | partial void OnattributeIdChanging(global::System.Int32 value); |
| 370 | | /// <summary> |
| 371 | | /// There are no comments for property value in the schema. |
| 372 | | /// </summary> |
| 373 | | [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute(IsNullable=false)] |
| 374 | | [global::System.Runtime.Serialization.DataMemberAttribute()] |
| 375 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| 376 | | public decimal value |
| 377 | | { |
| 378 | | get |
| 379 | | { |
| 380 | | return this._value; |
| 381 | | } |
| 382 | | set |
| 383 | | { |
| 384 | | this.OnvalueChanging(value); |
| 385 | | this.ReportPropertyChanging("value"); |
| 386 | | this._value = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value); |
| 387 | | this.ReportPropertyChanged("value"); |
| 388 | | this.OnvalueChanged(); |
| 389 | | } |
| 390 | | } |
| 391 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| 392 | | private decimal _value; |
| 393 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| 394 | | partial void OnvalueChanging(decimal value); |
| 395 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| | 387 | |
| | 388 | /// <summary> |
| | 389 | /// No Metadata Documentation available. |
| | 390 | /// </summary> |
| | 391 | [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)] |
| | 392 | [DataMemberAttribute()] |
| | 393 | public global::System.Decimal value |
| | 394 | { |
| | 395 | get |
| | 396 | { |
| | 397 | return _value; |
| | 398 | } |
| | 399 | set |
| | 400 | { |
| | 401 | OnvalueChanging(value); |
| | 402 | ReportPropertyChanging("value"); |
| | 403 | _value = StructuralObject.SetValidValue(value); |
| | 404 | ReportPropertyChanged("value"); |
| | 405 | OnvalueChanged(); |
| | 406 | } |
| | 407 | } |
| | 408 | private global::System.Decimal _value; |
| | 409 | partial void OnvalueChanging(global::System.Decimal value); |
| 407 | | return this._date; |
| 408 | | } |
| 409 | | set |
| 410 | | { |
| 411 | | this.OndateChanging(value); |
| 412 | | this.ReportPropertyChanging("date"); |
| 413 | | this._date = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value); |
| 414 | | this.ReportPropertyChanged("date"); |
| 415 | | this.OndateChanged(); |
| 416 | | } |
| 417 | | } |
| 418 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| | 421 | return _date; |
| | 422 | } |
| | 423 | set |
| | 424 | { |
| | 425 | OndateChanging(value); |
| | 426 | ReportPropertyChanging("date"); |
| | 427 | _date = StructuralObject.SetValidValue(value); |
| | 428 | ReportPropertyChanged("date"); |
| | 429 | OndateChanged(); |
| | 430 | } |
| | 431 | } |
| 424 | | /// <summary> |
| 425 | | /// There are no comments for property is_latest in the schema. |
| 426 | | /// </summary> |
| 427 | | [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute(IsNullable=false)] |
| 428 | | [global::System.Runtime.Serialization.DataMemberAttribute()] |
| 429 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| 430 | | public bool is_latest |
| 431 | | { |
| 432 | | get |
| 433 | | { |
| 434 | | return this._is_latest; |
| 435 | | } |
| 436 | | set |
| 437 | | { |
| 438 | | this.Onis_latestChanging(value); |
| 439 | | this.ReportPropertyChanging("is_latest"); |
| 440 | | this._is_latest = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value); |
| 441 | | this.ReportPropertyChanged("is_latest"); |
| 442 | | this.Onis_latestChanged(); |
| 443 | | } |
| 444 | | } |
| 445 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| 446 | | private bool _is_latest; |
| 447 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| 448 | | partial void Onis_latestChanging(bool value); |
| 449 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| | 435 | |
| | 436 | /// <summary> |
| | 437 | /// No Metadata Documentation available. |
| | 438 | /// </summary> |
| | 439 | [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)] |
| | 440 | [DataMemberAttribute()] |
| | 441 | public global::System.Boolean is_latest |
| | 442 | { |
| | 443 | get |
| | 444 | { |
| | 445 | return _is_latest; |
| | 446 | } |
| | 447 | set |
| | 448 | { |
| | 449 | Onis_latestChanging(value); |
| | 450 | ReportPropertyChanging("is_latest"); |
| | 451 | _is_latest = StructuralObject.SetValidValue(value); |
| | 452 | ReportPropertyChanged("is_latest"); |
| | 453 | Onis_latestChanged(); |
| | 454 | } |
| | 455 | } |
| | 456 | private global::System.Boolean _is_latest; |
| | 457 | partial void Onis_latestChanging(global::System.Boolean value); |
| 455 | | /// <KeyProperties> |
| 456 | | /// userId |
| 457 | | /// </KeyProperties> |
| 458 | | [global::System.Data.Objects.DataClasses.EdmEntityTypeAttribute(NamespaceName="FitStylrModel", Name="Profile")] |
| 459 | | [global::System.Runtime.Serialization.DataContractAttribute(IsReference=true)] |
| 460 | | [global::System.Serializable()] |
| 461 | | public partial class Profile : global::System.Data.Objects.DataClasses.EntityObject |
| | 467 | [EdmEntityTypeAttribute(NamespaceName="FitStylrModel", Name="Profile")] |
| | 468 | [Serializable()] |
| | 469 | [DataContractAttribute(IsReference=true)] |
| | 470 | public partial class Profile : EntityObject |
| 474 | | /// <summary> |
| 475 | | /// There are no comments for property userId in the schema. |
| 476 | | /// </summary> |
| 477 | | [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute(EntityKeyProperty=true, IsNullable=false)] |
| 478 | | [global::System.Runtime.Serialization.DataMemberAttribute()] |
| 479 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| 480 | | public int userId |
| 481 | | { |
| 482 | | get |
| 483 | | { |
| 484 | | return this._userId; |
| 485 | | } |
| 486 | | set |
| 487 | | { |
| 488 | | this.OnuserIdChanging(value); |
| 489 | | this.ReportPropertyChanging("userId"); |
| 490 | | this._userId = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value); |
| 491 | | this.ReportPropertyChanged("userId"); |
| 492 | | this.OnuserIdChanged(); |
| 493 | | } |
| 494 | | } |
| 495 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| 496 | | private int _userId; |
| 497 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| 498 | | partial void OnuserIdChanging(int value); |
| 499 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| | 484 | |
| | 485 | #endregion |
| | 486 | #region Primitive Properties |
| | 487 | |
| | 488 | /// <summary> |
| | 489 | /// No Metadata Documentation available. |
| | 490 | /// </summary> |
| | 491 | [EdmScalarPropertyAttribute(EntityKeyProperty=true, IsNullable=false)] |
| | 492 | [DataMemberAttribute()] |
| | 493 | public global::System.Int32 userId |
| | 494 | { |
| | 495 | get |
| | 496 | { |
| | 497 | return _userId; |
| | 498 | } |
| | 499 | set |
| | 500 | { |
| | 501 | if (_userId != value) |
| | 502 | { |
| | 503 | OnuserIdChanging(value); |
| | 504 | ReportPropertyChanging("userId"); |
| | 505 | _userId = StructuralObject.SetValidValue(value); |
| | 506 | ReportPropertyChanged("userId"); |
| | 507 | OnuserIdChanged(); |
| | 508 | } |
| | 509 | } |
| | 510 | } |
| | 511 | private global::System.Int32 _userId; |
| | 512 | partial void OnuserIdChanging(global::System.Int32 value); |
| 501 | | /// <summary> |
| 502 | | /// There are no comments for property firstName in the schema. |
| 503 | | /// </summary> |
| 504 | | [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute()] |
| 505 | | [global::System.Runtime.Serialization.DataMemberAttribute()] |
| 506 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| 507 | | public string firstName |
| 508 | | { |
| 509 | | get |
| 510 | | { |
| 511 | | return this._firstName; |
| 512 | | } |
| 513 | | set |
| 514 | | { |
| 515 | | this.OnfirstNameChanging(value); |
| 516 | | this.ReportPropertyChanging("firstName"); |
| 517 | | this._firstName = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, true); |
| 518 | | this.ReportPropertyChanged("firstName"); |
| 519 | | this.OnfirstNameChanged(); |
| 520 | | } |
| 521 | | } |
| 522 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| 523 | | private string _firstName; |
| 524 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| 525 | | partial void OnfirstNameChanging(string value); |
| 526 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| | 514 | |
| | 515 | /// <summary> |
| | 516 | /// No Metadata Documentation available. |
| | 517 | /// </summary> |
| | 518 | [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)] |
| | 519 | [DataMemberAttribute()] |
| | 520 | public global::System.String firstName |
| | 521 | { |
| | 522 | get |
| | 523 | { |
| | 524 | return _firstName; |
| | 525 | } |
| | 526 | set |
| | 527 | { |
| | 528 | OnfirstNameChanging(value); |
| | 529 | ReportPropertyChanging("firstName"); |
| | 530 | _firstName = StructuralObject.SetValidValue(value, true); |
| | 531 | ReportPropertyChanged("firstName"); |
| | 532 | OnfirstNameChanged(); |
| | 533 | } |
| | 534 | } |
| | 535 | private global::System.String _firstName; |
| | 536 | partial void OnfirstNameChanging(global::System.String value); |
| 528 | | /// <summary> |
| 529 | | /// There are no comments for property surname in the schema. |
| 530 | | /// </summary> |
| 531 | | [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute()] |
| 532 | | [global::System.Runtime.Serialization.DataMemberAttribute()] |
| 533 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| 534 | | public string surname |
| 535 | | { |
| 536 | | get |
| 537 | | { |
| 538 | | return this._surname; |
| 539 | | } |
| 540 | | set |
| 541 | | { |
| 542 | | this.OnsurnameChanging(value); |
| 543 | | this.ReportPropertyChanging("surname"); |
| 544 | | this._surname = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, true); |
| 545 | | this.ReportPropertyChanged("surname"); |
| 546 | | this.OnsurnameChanged(); |
| 547 | | } |
| 548 | | } |
| 549 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| 550 | | private string _surname; |
| 551 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| 552 | | partial void OnsurnameChanging(string value); |
| 553 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| | 538 | |
| | 539 | /// <summary> |
| | 540 | /// No Metadata Documentation available. |
| | 541 | /// </summary> |
| | 542 | [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)] |
| | 543 | [DataMemberAttribute()] |
| | 544 | public global::System.String surname |
| | 545 | { |
| | 546 | get |
| | 547 | { |
| | 548 | return _surname; |
| | 549 | } |
| | 550 | set |
| | 551 | { |
| | 552 | OnsurnameChanging(value); |
| | 553 | ReportPropertyChanging("surname"); |
| | 554 | _surname = StructuralObject.SetValidValue(value, true); |
| | 555 | ReportPropertyChanged("surname"); |
| | 556 | OnsurnameChanged(); |
| | 557 | } |
| | 558 | } |
| | 559 | private global::System.String _surname; |
| | 560 | partial void OnsurnameChanging(global::System.String value); |
| 555 | | /// <summary> |
| 556 | | /// There are no comments for property DOB in the schema. |
| 557 | | /// </summary> |
| 558 | | [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute()] |
| 559 | | [global::System.Runtime.Serialization.DataMemberAttribute()] |
| 560 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| 561 | | public global::System.Nullable<global::System.DateTime> DOB |
| 562 | | { |
| 563 | | get |
| 564 | | { |
| 565 | | return this._DOB; |
| 566 | | } |
| 567 | | set |
| 568 | | { |
| 569 | | this.OnDOBChanging(value); |
| 570 | | this.ReportPropertyChanging("DOB"); |
| 571 | | this._DOB = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value); |
| 572 | | this.ReportPropertyChanged("DOB"); |
| 573 | | this.OnDOBChanged(); |
| 574 | | } |
| 575 | | } |
| 576 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| 577 | | private global::System.Nullable<global::System.DateTime> _DOB; |
| 578 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| 579 | | partial void OnDOBChanging(global::System.Nullable<global::System.DateTime> value); |
| 580 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| | 562 | |
| | 563 | /// <summary> |
| | 564 | /// No Metadata Documentation available. |
| | 565 | /// </summary> |
| | 566 | [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)] |
| | 567 | [DataMemberAttribute()] |
| | 568 | public Nullable<global::System.DateTime> DOB |
| | 569 | { |
| | 570 | get |
| | 571 | { |
| | 572 | return _DOB; |
| | 573 | } |
| | 574 | set |
| | 575 | { |
| | 576 | OnDOBChanging(value); |
| | 577 | ReportPropertyChanging("DOB"); |
| | 578 | _DOB = StructuralObject.SetValidValue(value); |
| | 579 | ReportPropertyChanged("DOB"); |
| | 580 | OnDOBChanged(); |
| | 581 | } |
| | 582 | } |
| | 583 | private Nullable<global::System.DateTime> _DOB; |
| | 584 | partial void OnDOBChanging(Nullable<global::System.DateTime> value); |
| 582 | | /// <summary> |
| 583 | | /// There are no comments for property aboutMe in the schema. |
| 584 | | /// </summary> |
| 585 | | [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute()] |
| 586 | | [global::System.Runtime.Serialization.DataMemberAttribute()] |
| 587 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| 588 | | public string aboutMe |
| 589 | | { |
| 590 | | get |
| 591 | | { |
| 592 | | return this._aboutMe; |
| 593 | | } |
| 594 | | set |
| 595 | | { |
| 596 | | this.OnaboutMeChanging(value); |
| 597 | | this.ReportPropertyChanging("aboutMe"); |
| 598 | | this._aboutMe = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, true); |
| 599 | | this.ReportPropertyChanged("aboutMe"); |
| 600 | | this.OnaboutMeChanged(); |
| 601 | | } |
| 602 | | } |
| 603 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| 604 | | private string _aboutMe; |
| 605 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| 606 | | partial void OnaboutMeChanging(string value); |
| 607 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| | 586 | |
| | 587 | /// <summary> |
| | 588 | /// No Metadata Documentation available. |
| | 589 | /// </summary> |
| | 590 | [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)] |
| | 591 | [DataMemberAttribute()] |
| | 592 | public global::System.String aboutMe |
| | 593 | { |
| | 594 | get |
| | 595 | { |
| | 596 | return _aboutMe; |
| | 597 | } |
| | 598 | set |
| | 599 | { |
| | 600 | OnaboutMeChanging(value); |
| | 601 | ReportPropertyChanging("aboutMe"); |
| | 602 | _aboutMe = StructuralObject.SetValidValue(value, true); |
| | 603 | ReportPropertyChanged("aboutMe"); |
| | 604 | OnaboutMeChanged(); |
| | 605 | } |
| | 606 | } |
| | 607 | private global::System.String _aboutMe; |
| | 608 | partial void OnaboutMeChanging(global::System.String value); |
| 609 | | /// <summary> |
| 610 | | /// There are no comments for property occupation in the schema. |
| 611 | | /// </summary> |
| 612 | | [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute()] |
| 613 | | [global::System.Runtime.Serialization.DataMemberAttribute()] |
| 614 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| 615 | | public string occupation |
| 616 | | { |
| 617 | | get |
| 618 | | { |
| 619 | | return this._occupation; |
| 620 | | } |
| 621 | | set |
| 622 | | { |
| 623 | | this.OnoccupationChanging(value); |
| 624 | | this.ReportPropertyChanging("occupation"); |
| 625 | | this._occupation = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, true); |
| 626 | | this.ReportPropertyChanged("occupation"); |
| 627 | | this.OnoccupationChanged(); |
| 628 | | } |
| 629 | | } |
| 630 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| 631 | | private string _occupation; |
| 632 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| 633 | | partial void OnoccupationChanging(string value); |
| 634 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| | 610 | |
| | 611 | /// <summary> |
| | 612 | /// No Metadata Documentation available. |
| | 613 | /// </summary> |
| | 614 | [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)] |
| | 615 | [DataMemberAttribute()] |
| | 616 | public global::System.String occupation |
| | 617 | { |
| | 618 | get |
| | 619 | { |
| | 620 | return _occupation; |
| | 621 | } |
| | 622 | set |
| | 623 | { |
| | 624 | OnoccupationChanging(value); |
| | 625 | ReportPropertyChanging("occupation"); |
| | 626 | _occupation = StructuralObject.SetValidValue(value, true); |
| | 627 | ReportPropertyChanged("occupation"); |
| | 628 | OnoccupationChanged(); |
| | 629 | } |
| | 630 | } |
| | 631 | private global::System.String _occupation; |
| | 632 | partial void OnoccupationChanging(global::System.String value); |
| 636 | | /// <summary> |
| 637 | | /// There are no comments for property country in the schema. |
| 638 | | /// </summary> |
| 639 | | [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute()] |
| 640 | | [global::System.Runtime.Serialization.DataMemberAttribute()] |
| 641 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| 642 | | public string country |
| 643 | | { |
| 644 | | get |
| 645 | | { |
| 646 | | return this._country; |
| 647 | | } |
| 648 | | set |
| 649 | | { |
| 650 | | this.OncountryChanging(value); |
| 651 | | this.ReportPropertyChanging("country"); |
| 652 | | this._country = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, true); |
| 653 | | this.ReportPropertyChanged("country"); |
| 654 | | this.OncountryChanged(); |
| 655 | | } |
| 656 | | } |
| 657 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| 658 | | private string _country; |
| 659 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| 660 | | partial void OncountryChanging(string value); |
| 661 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| | 634 | |
| | 635 | /// <summary> |
| | 636 | /// No Metadata Documentation available. |
| | 637 | /// </summary> |
| | 638 | [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)] |
| | 639 | [DataMemberAttribute()] |
| | 640 | public global::System.String country |
| | 641 | { |
| | 642 | get |
| | 643 | { |
| | 644 | return _country; |
| | 645 | } |
| | 646 | set |
| | 647 | { |
| | 648 | OncountryChanging(value); |
| | 649 | ReportPropertyChanging("country"); |
| | 650 | _country = StructuralObject.SetValidValue(value, true); |
| | 651 | ReportPropertyChanged("country"); |
| | 652 | OncountryChanged(); |
| | 653 | } |
| | 654 | } |
| | 655 | private global::System.String _country; |
| | 656 | partial void OncountryChanging(global::System.String value); |
| 663 | | /// <summary> |
| 664 | | /// There are no comments for property state in the schema. |
| 665 | | /// </summary> |
| 666 | | [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute()] |
| 667 | | [global::System.Runtime.Serialization.DataMemberAttribute()] |
| 668 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| 669 | | public string state |
| 670 | | { |
| 671 | | get |
| 672 | | { |
| 673 | | return this._state; |
| 674 | | } |
| 675 | | set |
| 676 | | { |
| 677 | | this.OnstateChanging(value); |
| 678 | | this.ReportPropertyChanging("state"); |
| 679 | | this._state = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, true); |
| 680 | | this.ReportPropertyChanged("state"); |
| 681 | | this.OnstateChanged(); |
| 682 | | } |
| 683 | | } |
| 684 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| 685 | | private string _state; |
| 686 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| 687 | | partial void OnstateChanging(string value); |
| 688 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| | 658 | |
| | 659 | /// <summary> |
| | 660 | /// No Metadata Documentation available. |
| | 661 | /// </summary> |
| | 662 | [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)] |
| | 663 | [DataMemberAttribute()] |
| | 664 | public global::System.String state |
| | 665 | { |
| | 666 | get |
| | 667 | { |
| | 668 | return _state; |
| | 669 | } |
| | 670 | set |
| | 671 | { |
| | 672 | OnstateChanging(value); |
| | 673 | ReportPropertyChanging("state"); |
| | 674 | _state = StructuralObject.SetValidValue(value, true); |
| | 675 | ReportPropertyChanged("state"); |
| | 676 | OnstateChanged(); |
| | 677 | } |
| | 678 | } |
| | 679 | private global::System.String _state; |
| | 680 | partial void OnstateChanging(global::System.String value); |
| 690 | | /// <summary> |
| 691 | | /// There are no comments for property zipcode in the schema. |
| 692 | | /// </summary> |
| 693 | | [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute()] |
| 694 | | [global::System.Runtime.Serialization.DataMemberAttribute()] |
| 695 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| 696 | | public global::System.Nullable<int> zipcode |
| 697 | | { |
| 698 | | get |
| 699 | | { |
| 700 | | return this._zipcode; |
| 701 | | } |
| 702 | | set |
| 703 | | { |
| 704 | | this.OnzipcodeChanging(value); |
| 705 | | this.ReportPropertyChanging("zipcode"); |
| 706 | | this._zipcode = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value); |
| 707 | | this.ReportPropertyChanged("zipcode"); |
| 708 | | this.OnzipcodeChanged(); |
| 709 | | } |
| 710 | | } |
| 711 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| 712 | | private global::System.Nullable<int> _zipcode; |
| 713 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| 714 | | partial void OnzipcodeChanging(global::System.Nullable<int> value); |
| 715 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| | 682 | |
| | 683 | /// <summary> |
| | 684 | /// No Metadata Documentation available. |
| | 685 | /// </summary> |
| | 686 | [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)] |
| | 687 | [DataMemberAttribute()] |
| | 688 | public Nullable<global::System.Int32> zipcode |
| | 689 | { |
| | 690 | get |
| | 691 | { |
| | 692 | return _zipcode; |
| | 693 | } |
| | 694 | set |
| | 695 | { |
| | 696 | OnzipcodeChanging(value); |
| | 697 | ReportPropertyChanging("zipcode"); |
| | 698 | _zipcode = StructuralObject.SetValidValue(value); |
| | 699 | ReportPropertyChanged("zipcode"); |
| | 700 | OnzipcodeChanged(); |
| | 701 | } |
| | 702 | } |
| | 703 | private Nullable<global::System.Int32> _zipcode; |
| | 704 | partial void OnzipcodeChanging(Nullable<global::System.Int32> value); |
| 717 | | /// <summary> |
| 718 | | /// There are no comments for property address_1 in the schema. |
| 719 | | /// </summary> |
| 720 | | [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute()] |
| 721 | | [global::System.Runtime.Serialization.DataMemberAttribute()] |
| 722 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| 723 | | public string address_1 |
| 724 | | { |
| 725 | | get |
| 726 | | { |
| 727 | | return this._address_1; |
| 728 | | } |
| 729 | | set |
| 730 | | { |
| 731 | | this.Onaddress_1Changing(value); |
| 732 | | this.ReportPropertyChanging("address_1"); |
| 733 | | this._address_1 = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, true); |
| 734 | | this.ReportPropertyChanged("address_1"); |
| 735 | | this.Onaddress_1Changed(); |
| 736 | | } |
| 737 | | } |
| 738 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| 739 | | private string _address_1; |
| 740 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| 741 | | partial void Onaddress_1Changing(string value); |
| 742 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| | 706 | |
| | 707 | /// <summary> |
| | 708 | /// No Metadata Documentation available. |
| | 709 | /// </summary> |
| | 710 | [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)] |
| | 711 | [DataMemberAttribute()] |
| | 712 | public global::System.String address_1 |
| | 713 | { |
| | 714 | get |
| | 715 | { |
| | 716 | return _address_1; |
| | 717 | } |
| | 718 | set |
| | 719 | { |
| | 720 | Onaddress_1Changing(value); |
| | 721 | ReportPropertyChanging("address_1"); |
| | 722 | _address_1 = StructuralObject.SetValidValue(value, true); |
| | 723 | ReportPropertyChanged("address_1"); |
| | 724 | Onaddress_1Changed(); |
| | 725 | } |
| | 726 | } |
| | 727 | private global::System.String _address_1; |
| | 728 | partial void Onaddress_1Changing(global::System.String value); |
| 744 | | /// <summary> |
| 745 | | /// There are no comments for property address_2 in the schema. |
| 746 | | /// </summary> |
| 747 | | [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute()] |
| 748 | | [global::System.Runtime.Serialization.DataMemberAttribute()] |
| 749 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| 750 | | public string address_2 |
| 751 | | { |
| 752 | | get |
| 753 | | { |
| 754 | | return this._address_2; |
| 755 | | } |
| 756 | | set |
| 757 | | { |
| 758 | | this.Onaddress_2Changing(value); |
| 759 | | this.ReportPropertyChanging("address_2"); |
| 760 | | this._address_2 = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, true); |
| 761 | | this.ReportPropertyChanged("address_2"); |
| 762 | | this.Onaddress_2Changed(); |
| 763 | | } |
| 764 | | } |
| 765 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| 766 | | private string _address_2; |
| 767 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| 768 | | partial void Onaddress_2Changing(string value); |
| 769 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| | 730 | |
| | 731 | /// <summary> |
| | 732 | /// No Metadata Documentation available. |
| | 733 | /// </summary> |
| | 734 | [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)] |
| | 735 | [DataMemberAttribute()] |
| | 736 | public global::System.String address_2 |
| | 737 | { |
| | 738 | get |
| | 739 | { |
| | 740 | return _address_2; |
| | 741 | } |
| | 742 | set |
| | 743 | { |
| | 744 | Onaddress_2Changing(value); |
| | 745 | ReportPropertyChanging("address_2"); |
| | 746 | _address_2 = StructuralObject.SetValidValue(value, true); |
| | 747 | ReportPropertyChanged("address_2"); |
| | 748 | Onaddress_2Changed(); |
| | 749 | } |
| | 750 | } |
| | 751 | private global::System.String _address_2; |
| | 752 | partial void Onaddress_2Changing(global::System.String value); |
| 771 | | /// <summary> |
| 772 | | /// There are no comments for property homepage in the schema. |
| 773 | | /// </summary> |
| 774 | | [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute()] |
| 775 | | [global::System.Runtime.Serialization.DataMemberAttribute()] |
| 776 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| 777 | | public string homepage |
| 778 | | { |
| 779 | | get |
| 780 | | { |
| 781 | | return this._homepage; |
| 782 | | } |
| 783 | | set |
| 784 | | { |
| 785 | | this.OnhomepageChanging(value); |
| 786 | | this.ReportPropertyChanging("homepage"); |
| 787 | | this._homepage = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, true); |
| 788 | | this.ReportPropertyChanged("homepage"); |
| 789 | | this.OnhomepageChanged(); |
| 790 | | } |
| 791 | | } |
| 792 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| 793 | | private string _homepage; |
| 794 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| 795 | | partial void OnhomepageChanging(string value); |
| 796 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| | 754 | |
| | 755 | /// <summary> |
| | 756 | /// No Metadata Documentation available. |
| | 757 | /// </summary> |
| | 758 | [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)] |
| | 759 | [DataMemberAttribute()] |
| | 760 | public global::System.String homepage |
| | 761 | { |
| | 762 | get |
| | 763 | { |
| | 764 | return _homepage; |
| | 765 | } |
| | 766 | set |
| | 767 | { |
| | 768 | OnhomepageChanging(value); |
| | 769 | ReportPropertyChanging("homepage"); |
| | 770 | _homepage = StructuralObject.SetValidValue(value, true); |
| | 771 | ReportPropertyChanged("homepage"); |
| | 772 | OnhomepageChanged(); |
| | 773 | } |
| | 774 | } |
| | 775 | private global::System.String _homepage; |
| | 776 | partial void OnhomepageChanging(global::System.String value); |
| 798 | | /// <summary> |
| 799 | | /// There are no comments for property phone in the schema. |
| 800 | | /// </summary> |
| 801 | | [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute()] |
| 802 | | [global::System.Runtime.Serialization.DataMemberAttribute()] |
| 803 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| 804 | | public global::System.Nullable<int> phone |
| 805 | | { |
| 806 | | get |
| 807 | | { |
| 808 | | return this._phone; |
| 809 | | } |
| 810 | | set |
| 811 | | { |
| 812 | | this.OnphoneChanging(value); |
| 813 | | this.ReportPropertyChanging("phone"); |
| 814 | | this._phone = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value); |
| 815 | | this.ReportPropertyChanged("phone"); |
| 816 | | this.OnphoneChanged(); |
| 817 | | } |
| 818 | | } |
| 819 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| 820 | | private global::System.Nullable<int> _phone; |
| 821 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| 822 | | partial void OnphoneChanging(global::System.Nullable<int> value); |
| 823 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| | 778 | |
| | 779 | /// <summary> |
| | 780 | /// No Metadata Documentation available. |
| | 781 | /// </summary> |
| | 782 | [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)] |
| | 783 | [DataMemberAttribute()] |
| | 784 | public Nullable<global::System.Int32> phone |
| | 785 | { |
| | 786 | get |
| | 787 | { |
| | 788 | return _phone; |
| | 789 | } |
| | 790 | set |
| | 791 | { |
| | 792 | OnphoneChanging(value); |
| | 793 | ReportPropertyChanging("phone"); |
| | 794 | _phone = StructuralObject.SetValidValue(value); |
| | 795 | ReportPropertyChanged("phone"); |
| | 796 | OnphoneChanged(); |
| | 797 | } |
| | 798 | } |
| | 799 | private Nullable<global::System.Int32> _phone; |
| | 800 | partial void OnphoneChanging(Nullable<global::System.Int32> value); |
| 825 | | /// <summary> |
| 826 | | /// There are no comments for property mobile in the schema. |
| 827 | | /// </summary> |
| 828 | | [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute()] |
| 829 | | [global::System.Runtime.Serialization.DataMemberAttribute()] |
| 830 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| 831 | | public global::System.Nullable<int> mobile |
| 832 | | { |
| 833 | | get |
| 834 | | { |
| 835 | | return this._mobile; |
| 836 | | } |
| 837 | | set |
| 838 | | { |
| 839 | | this.OnmobileChanging(value); |
| 840 | | this.ReportPropertyChanging("mobile"); |
| 841 | | this._mobile = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value); |
| 842 | | this.ReportPropertyChanged("mobile"); |
| 843 | | this.OnmobileChanged(); |
| 844 | | } |
| 845 | | } |
| 846 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| 847 | | private global::System.Nullable<int> _mobile; |
| 848 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| 849 | | partial void OnmobileChanging(global::System.Nullable<int> value); |
| 850 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| | 802 | |
| | 803 | /// <summary> |
| | 804 | /// No Metadata Documentation available. |
| | 805 | /// </summary> |
| | 806 | [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)] |
| | 807 | [DataMemberAttribute()] |
| | 808 | public Nullable<global::System.Int32> mobile |
| | 809 | { |
| | 810 | get |
| | 811 | { |
| | 812 | return _mobile; |
| | 813 | } |
| | 814 | set |
| | 815 | { |
| | 816 | OnmobileChanging(value); |
| | 817 | ReportPropertyChanging("mobile"); |
| | 818 | _mobile = StructuralObject.SetValidValue(value); |
| | 819 | ReportPropertyChanged("mobile"); |
| | 820 | OnmobileChanged(); |
| | 821 | } |
| | 822 | } |
| | 823 | private Nullable<global::System.Int32> _mobile; |
| | 824 | partial void OnmobileChanging(Nullable<global::System.Int32> value); |
| 852 | | /// <summary> |
| 853 | | /// There are no comments for property twitterAccount in the schema. |
| 854 | | /// </summary> |
| 855 | | [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute()] |
| 856 | | [global::System.Runtime.Serialization.DataMemberAttribute()] |
| 857 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| 858 | | public string twitterAccount |
| 859 | | { |
| 860 | | get |
| 861 | | { |
| 862 | | return this._twitterAccount; |
| 863 | | } |
| 864 | | set |
| 865 | | { |
| 866 | | this.OntwitterAccountChanging(value); |
| 867 | | this.ReportPropertyChanging("twitterAccount"); |
| 868 | | this._twitterAccount = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, true); |
| 869 | | this.ReportPropertyChanged("twitterAccount"); |
| 870 | | this.OntwitterAccountChanged(); |
| 871 | | } |
| 872 | | } |
| 873 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| 874 | | private string _twitterAccount; |
| 875 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| 876 | | partial void OntwitterAccountChanging(string value); |
| 877 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| | 826 | |
| | 827 | /// <summary> |
| | 828 | /// No Metadata Documentation available. |
| | 829 | /// </summary> |
| | 830 | [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)] |
| | 831 | [DataMemberAttribute()] |
| | 832 | public global::System.String twitterAccount |
| | 833 | { |
| | 834 | get |
| | 835 | { |
| | 836 | return _twitterAccount; |
| | 837 | } |
| | 838 | set |
| | 839 | { |
| | 840 | OntwitterAccountChanging(value); |
| | 841 | ReportPropertyChanging("twitterAccount"); |
| | 842 | _twitterAccount = StructuralObject.SetValidValue(value, true); |
| | 843 | ReportPropertyChanged("twitterAccount"); |
| | 844 | OntwitterAccountChanged(); |
| | 845 | } |
| | 846 | } |
| | 847 | private global::System.String _twitterAccount; |
| | 848 | partial void OntwitterAccountChanging(global::System.String value); |
| 879 | | /// <summary> |
| 880 | | /// There are no comments for property facebookId in the schema. |
| 881 | | /// </summary> |
| 882 | | [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute()] |
| 883 | | [global::System.Runtime.Serialization.DataMemberAttribute()] |
| 884 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| 885 | | public string facebookId |
| 886 | | { |
| 887 | | get |
| 888 | | { |
| 889 | | return this._facebookId; |
| 890 | | } |
| 891 | | set |
| 892 | | { |
| 893 | | this.OnfacebookIdChanging(value); |
| 894 | | this.ReportPropertyChanging("facebookId"); |
| 895 | | this._facebookId = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, true); |
| 896 | | this.ReportPropertyChanged("facebookId"); |
| 897 | | this.OnfacebookIdChanged(); |
| 898 | | } |
| 899 | | } |
| 900 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| 901 | | private string _facebookId; |
| 902 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| 903 | | partial void OnfacebookIdChanging(string value); |
| 904 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| | 850 | |
| | 851 | /// <summary> |
| | 852 | /// No Metadata Documentation available. |
| | 853 | /// </summary> |
| | 854 | [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)] |
| | 855 | [DataMemberAttribute()] |
| | 856 | public global::System.String facebookId |
| | 857 | { |
| | 858 | get |
| | 859 | { |
| | 860 | return _facebookId; |
| | 861 | } |
| | 862 | set |
| | 863 | { |
| | 864 | OnfacebookIdChanging(value); |
| | 865 | ReportPropertyChanging("facebookId"); |
| | 866 | _facebookId = StructuralObject.SetValidValue(value, true); |
| | 867 | ReportPropertyChanged("facebookId"); |
| | 868 | OnfacebookIdChanged(); |
| | 869 | } |
| | 870 | } |
| | 871 | private global::System.String _facebookId; |
| | 872 | partial void OnfacebookIdChanging(global::System.String value); |
| 910 | | /// <KeyProperties> |
| 911 | | /// id |
| 912 | | /// </KeyProperties> |
| 913 | | [global::System.Data.Objects.DataClasses.EdmEntityTypeAttribute(NamespaceName="FitStylrModel", Name="User")] |
| 914 | | [global::System.Runtime.Serialization.DataContractAttribute(IsReference=true)] |
| 915 | | [global::System.Serializable()] |
| 916 | | public partial class User : global::System.Data.Objects.DataClasses.EntityObject |
| | 882 | [EdmEntityTypeAttribute(NamespaceName="FitStylrModel", Name="User")] |
| | 883 | [Serializable()] |
| | 884 | [DataContractAttribute(IsReference=true)] |
| | 885 | public partial class User : EntityObject |
| 921 | | /// <param name="id">Initial value of id.</param> |
| 922 | | /// <param name="username">Initial value of username.</param> |
| 923 | | /// <param name="password">Initial value of password.</param> |
| 924 | | /// <param name="email">Initial value of email.</param> |
| 925 | | /// <param name="createdOn">Initial value of createdOn.</param> |
| 926 | | /// <param name="is_active">Initial value of is_active.</param> |
| 927 | | /// <param name="userType">Initial value of userType.</param> |
| 928 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| 929 | | public static User CreateUser(int id, string username, string password, string email, global::System.DateTime createdOn, bool is_active, string userType) |
| | 892 | /// <param name="id">Initial value of the id property.</param> |
| | 893 | /// <param name="username">Initial value of the username property.</param> |
| | 894 | /// <param name="password">Initial value of the password property.</param> |
| | 895 | /// <param name="email">Initial value of the email property.</param> |
| | 896 | /// <param name="createdOn">Initial value of the createdOn property.</param> |
| | 897 | /// <param name="is_active">Initial value of the is_active property.</param> |
| | 898 | /// <param name="userType">Initial value of the userType property.</param> |
| | 899 | public static User CreateUser(global::System.Int32 id, global::System.String username, global::System.String password, global::System.String email, global::System.DateTime createdOn, global::System.Boolean is_active, global::System.String userType) |
| 941 | | /// <summary> |
| 942 | | /// There are no comments for property id in the schema. |
| 943 | | /// </summary> |
| 944 | | [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute(EntityKeyProperty=true, IsNullable=false)] |
| 945 | | [global::System.Runtime.Serialization.DataMemberAttribute()] |
| 946 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| 947 | | public int id |
| 948 | | { |
| 949 | | get |
| 950 | | { |
| 951 | | return this._id; |
| 952 | | } |
| 953 | | set |
| 954 | | { |
| 955 | | this.OnidChanging(value); |
| 956 | | this.ReportPropertyChanging("id"); |
| 957 | | this._id = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value); |
| 958 | | this.ReportPropertyChanged("id"); |
| 959 | | this.OnidChanged(); |
| 960 | | } |
| 961 | | } |
| 962 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| 963 | | private int _id; |
| 964 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| 965 | | partial void OnidChanging(int value); |
| 966 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| | 911 | |
| | 912 | #endregion |
| | 913 | #region Primitive Properties |
| | 914 | |
| | 915 | /// <summary> |
| | 916 | /// No Metadata Documentation available. |
| | 917 | /// </summary> |
| | 918 | [EdmScalarPropertyAttribute(EntityKeyProperty=true, IsNullable=false)] |
| | 919 | [DataMemberAttribute()] |
| | 920 | public global::System.Int32 id |
| | 921 | { |
| | 922 | get |
| | 923 | { |
| | 924 | return _id; |
| | 925 | } |
| | 926 | set |
| | 927 | { |
| | 928 | if (_id != value) |
| | 929 | { |
| | 930 | OnidChanging(value); |
| | 931 | ReportPropertyChanging("id"); |
| | 932 | _id = StructuralObject.SetValidValue(value); |
| | 933 | ReportPropertyChanged("id"); |
| | 934 | OnidChanged(); |
| | 935 | } |
| | 936 | } |
| | 937 | } |
| | 938 | private global::System.Int32 _id; |
| | 939 | partial void OnidChanging(global::System.Int32 value); |
| 968 | | /// <summary> |
| 969 | | /// There are no comments for property username in the schema. |
| 970 | | /// </summary> |
| 971 | | [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute(IsNullable=false)] |
| 972 | | [global::System.Runtime.Serialization.DataMemberAttribute()] |
| 973 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| 974 | | public string username |
| 975 | | { |
| 976 | | get |
| 977 | | { |
| 978 | | return this._username; |
| 979 | | } |
| 980 | | set |
| 981 | | { |
| 982 | | this.OnusernameChanging(value); |
| 983 | | this.ReportPropertyChanging("username"); |
| 984 | | this._username = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, false); |
| 985 | | this.ReportPropertyChanged("username"); |
| 986 | | this.OnusernameChanged(); |
| 987 | | } |
| 988 | | } |
| 989 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| 990 | | private string _username; |
| 991 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| 992 | | partial void OnusernameChanging(string value); |
| 993 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| | 941 | |
| | 942 | /// <summary> |
| | 943 | /// No Metadata Documentation available. |
| | 944 | /// </summary> |
| | 945 | [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)] |
| | 946 | [DataMemberAttribute()] |
| | 947 | public global::System.String username |
| | 948 | { |
| | 949 | get |
| | 950 | { |
| | 951 | return _username; |
| | 952 | } |
| | 953 | set |
| | 954 | { |
| | 955 | OnusernameChanging(value); |
| | 956 | ReportPropertyChanging("username"); |
| | 957 | _username = StructuralObject.SetValidValue(value, false); |
| | 958 | ReportPropertyChanged("username"); |
| | 959 | OnusernameChanged(); |
| | 960 | } |
| | 961 | } |
| | 962 | private global::System.String _username; |
| | 963 | partial void OnusernameChanging(global::System.String value); |
| 995 | | /// <summary> |
| 996 | | /// There are no comments for property password in the schema. |
| 997 | | /// </summary> |
| 998 | | [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute(IsNullable=false)] |
| 999 | | [global::System.Runtime.Serialization.DataMemberAttribute()] |
| 1000 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| 1001 | | public string password |
| 1002 | | { |
| 1003 | | get |
| 1004 | | { |
| 1005 | | return this._password; |
| 1006 | | } |
| 1007 | | set |
| 1008 | | { |
| 1009 | | this.OnpasswordChanging(value); |
| 1010 | | this.ReportPropertyChanging("password"); |
| 1011 | | this._password = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, false); |
| 1012 | | this.ReportPropertyChanged("password"); |
| 1013 | | this.OnpasswordChanged(); |
| 1014 | | } |
| 1015 | | } |
| 1016 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| 1017 | | private string _password; |
| 1018 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| 1019 | | partial void OnpasswordChanging(string value); |
| 1020 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| | 965 | |
| | 966 | /// <summary> |
| | 967 | /// No Metadata Documentation available. |
| | 968 | /// </summary> |
| | 969 | [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)] |
| | 970 | [DataMemberAttribute()] |
| | 971 | public global::System.String password |
| | 972 | { |
| | 973 | get |
| | 974 | { |
| | 975 | return _password; |
| | 976 | } |
| | 977 | set |
| | 978 | { |
| | 979 | OnpasswordChanging(value); |
| | 980 | ReportPropertyChanging("password"); |
| | 981 | _password = StructuralObject.SetValidValue(value, false); |
| | 982 | ReportPropertyChanged("password"); |
| | 983 | OnpasswordChanged(); |
| | 984 | } |
| | 985 | } |
| | 986 | private global::System.String _password; |
| | 987 | partial void OnpasswordChanging(global::System.String value); |
| 1022 | | /// <summary> |
| 1023 | | /// There are no comments for property email in the schema. |
| 1024 | | /// </summary> |
| 1025 | | [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute(IsNullable=false)] |
| 1026 | | [global::System.Runtime.Serialization.DataMemberAttribute()] |
| 1027 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| 1028 | | public string email |
| 1029 | | { |
| 1030 | | get |
| 1031 | | { |
| 1032 | | return this._email; |
| 1033 | | } |
| 1034 | | set |
| 1035 | | { |
| 1036 | | this.OnemailChanging(value); |
| 1037 | | this.ReportPropertyChanging("email"); |
| 1038 | | this._email = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, false); |
| 1039 | | this.ReportPropertyChanged("email"); |
| 1040 | | this.OnemailChanged(); |
| 1041 | | } |
| 1042 | | } |
| 1043 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| 1044 | | private string _email; |
| 1045 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| 1046 | | partial void OnemailChanging(string value); |
| 1047 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| | 989 | |
| | 990 | /// <summary> |
| | 991 | /// No Metadata Documentation available. |
| | 992 | /// </summary> |
| | 993 | [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)] |
| | 994 | [DataMemberAttribute()] |
| | 995 | public global::System.String email |
| | 996 | { |
| | 997 | get |
| | 998 | { |
| | 999 | return _email; |
| | 1000 | } |
| | 1001 | set |
| | 1002 | { |
| | 1003 | OnemailChanging(value); |
| | 1004 | ReportPropertyChanging("email"); |
| | 1005 | _email = StructuralObject.SetValidValue(value, false); |
| | 1006 | ReportPropertyChanged("email"); |
| | 1007 | OnemailChanged(); |
| | 1008 | } |
| | 1009 | } |
| | 1010 | private global::System.String _email; |
| | 1011 | partial void OnemailChanging(global::System.String value); |
| 1059 | | return this._createdOn; |
| 1060 | | } |
| 1061 | | set |
| 1062 | | { |
| 1063 | | this.OncreatedOnChanging(value); |
| 1064 | | this.ReportPropertyChanging("createdOn"); |
| 1065 | | this._createdOn = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value); |
| 1066 | | this.ReportPropertyChanged("createdOn"); |
| 1067 | | this.OncreatedOnChanged(); |
| 1068 | | } |
| 1069 | | } |
| 1070 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| | 1023 | return _createdOn; |
| | 1024 | } |
| | 1025 | set |
| | 1026 | { |
| | 1027 | OncreatedOnChanging(value); |
| | 1028 | ReportPropertyChanging("createdOn"); |
| | 1029 | _createdOn = StructuralObject.SetValidValue(value); |
| | 1030 | ReportPropertyChanged("createdOn"); |
| | 1031 | OncreatedOnChanged(); |
| | 1032 | } |
| | 1033 | } |
| 1076 | | /// <summary> |
| 1077 | | /// There are no comments for property is_active in the schema. |
| 1078 | | /// </summary> |
| 1079 | | [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute(IsNullable=false)] |
| 1080 | | [global::System.Runtime.Serialization.DataMemberAttribute()] |
| 1081 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| 1082 | | public bool is_active |
| 1083 | | { |
| 1084 | | get |
| 1085 | | { |
| 1086 | | return this._is_active; |
| 1087 | | } |
| 1088 | | set |
| 1089 | | { |
| 1090 | | this.Onis_activeChanging(value); |
| 1091 | | this.ReportPropertyChanging("is_active"); |
| 1092 | | this._is_active = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value); |
| 1093 | | this.ReportPropertyChanged("is_active"); |
| 1094 | | this.Onis_activeChanged(); |
| 1095 | | } |
| 1096 | | } |
| 1097 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| 1098 | | private bool _is_active; |
| 1099 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| 1100 | | partial void Onis_activeChanging(bool value); |
| 1101 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| | 1037 | |
| | 1038 | /// <summary> |
| | 1039 | /// No Metadata Documentation available. |
| | 1040 | /// </summary> |
| | 1041 | [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)] |
| | 1042 | [DataMemberAttribute()] |
| | 1043 | public global::System.Boolean is_active |
| | 1044 | { |
| | 1045 | get |
| | 1046 | { |
| | 1047 | return _is_active; |
| | 1048 | } |
| | 1049 | set |
| | 1050 | { |
| | 1051 | Onis_activeChanging(value); |
| | 1052 | ReportPropertyChanging("is_active"); |
| | 1053 | _is_active = StructuralObject.SetValidValue(value); |
| | 1054 | ReportPropertyChanged("is_active"); |
| | 1055 | Onis_activeChanged(); |
| | 1056 | } |
| | 1057 | } |
| | 1058 | private global::System.Boolean _is_active; |
| | 1059 | partial void Onis_activeChanging(global::System.Boolean value); |
| 1103 | | /// <summary> |
| 1104 | | /// There are no comments for property lastLogin in the schema. |
| 1105 | | /// </summary> |
| 1106 | | [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute()] |
| 1107 | | [global::System.Runtime.Serialization.DataMemberAttribute()] |
| 1108 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| 1109 | | public global::System.Nullable<global::System.DateTime> lastLogin |
| 1110 | | { |
| 1111 | | get |
| 1112 | | { |
| 1113 | | return this._lastLogin; |
| 1114 | | } |
| 1115 | | set |
| 1116 | | { |
| 1117 | | this.OnlastLoginChanging(value); |
| 1118 | | this.ReportPropertyChanging("lastLogin"); |
| 1119 | | this._lastLogin = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value); |
| 1120 | | this.ReportPropertyChanged("lastLogin"); |
| 1121 | | this.OnlastLoginChanged(); |
| 1122 | | } |
| 1123 | | } |
| 1124 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| 1125 | | private global::System.Nullable<global::System.DateTime> _lastLogin; |
| 1126 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| 1127 | | partial void OnlastLoginChanging(global::System.Nullable<global::System.DateTime> value); |
| 1128 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| | 1061 | |
| | 1062 | /// <summary> |
| | 1063 | /// No Metadata Documentation available. |
| | 1064 | /// </summary> |
| | 1065 | [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)] |
| | 1066 | [DataMemberAttribute()] |
| | 1067 | public Nullable<global::System.DateTime> lastLogin |
| | 1068 | { |
| | 1069 | get |
| | 1070 | { |
| | 1071 | return _lastLogin; |
| | 1072 | } |
| | 1073 | set |
| | 1074 | { |
| | 1075 | OnlastLoginChanging(value); |
| | 1076 | ReportPropertyChanging("lastLogin"); |
| | 1077 | _lastLogin = StructuralObject.SetValidValue(value); |
| | 1078 | ReportPropertyChanged("lastLogin"); |
| | 1079 | OnlastLoginChanged(); |
| | 1080 | } |
| | 1081 | } |
| | 1082 | private Nullable<global::System.DateTime> _lastLogin; |
| | 1083 | partial void OnlastLoginChanging(Nullable<global::System.DateTime> value); |
| 1130 | | /// <summary> |
| 1131 | | /// There are no comments for property userType in the schema. |
| 1132 | | /// </summary> |
| 1133 | | [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute(IsNullable=false)] |
| 1134 | | [global::System.Runtime.Serialization.DataMemberAttribute()] |
| 1135 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| 1136 | | public string userType |
| 1137 | | { |
| 1138 | | get |
| 1139 | | { |
| 1140 | | return this._userType; |
| 1141 | | } |
| 1142 | | set |
| 1143 | | { |
| 1144 | | this.OnuserTypeChanging(value); |
| 1145 | | this.ReportPropertyChanging("userType"); |
| 1146 | | this._userType = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, false); |
| 1147 | | this.ReportPropertyChanged("userType"); |
| 1148 | | this.OnuserTypeChanged(); |
| 1149 | | } |
| 1150 | | } |
| 1151 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| 1152 | | private string _userType; |
| 1153 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| 1154 | | partial void OnuserTypeChanging(string value); |
| 1155 | | [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")] |
| | 1085 | |
| | 1086 | /// <summary> |
| | 1087 | /// No Metadata Documentation available. |
| | 1088 | /// </summary> |
| | 1089 | [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)] |
| | 1090 | [DataMemberAttribute()] |
| | 1091 | public global::System.String userType |
| | 1092 | { |
| | 1093 | get |
| | 1094 | { |
| | 1095 | return _userType; |
| | 1096 | } |
| | 1097 | set |
| | 1098 | { |
| | 1099 | OnuserTypeChanging(value); |
| | 1100 | ReportPropertyChanging("userType"); |
| | 1101 | _userType = StructuralObject.SetValidValue(value, false); |
| | 1102 | ReportPropertyChanged("userType"); |
| | 1103 | OnuserTypeChanged(); |
| | 1104 | } |
| | 1105 | } |
| | 1106 | private global::System.String _userType; |
| | 1107 | partial void OnuserTypeChanging(global::System.String value); |