Changeset 5257 for branches/UserManagement/HeuristicLab.Services.Authentication.DataAccess/UserManagement.designer.cs
- Timestamp:
- 01/08/11 14:39:29 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/UserManagement/HeuristicLab.Services.Authentication.DataAccess/UserManagement.designer.cs
r4647 r5257 37 37 partial void Updateaspnet_Membership(aspnet_Membership instance); 38 38 partial void Deleteaspnet_Membership(aspnet_Membership instance); 39 partial void Insertaspnet_Path(aspnet_Path instance);40 partial void Updateaspnet_Path(aspnet_Path instance);41 partial void Deleteaspnet_Path(aspnet_Path instance);42 partial void Insertaspnet_PersonalizationAllUser(aspnet_PersonalizationAllUser instance);43 partial void Updateaspnet_PersonalizationAllUser(aspnet_PersonalizationAllUser instance);44 partial void Deleteaspnet_PersonalizationAllUser(aspnet_PersonalizationAllUser instance);45 partial void Insertaspnet_PersonalizationPerUser(aspnet_PersonalizationPerUser instance);46 partial void Updateaspnet_PersonalizationPerUser(aspnet_PersonalizationPerUser instance);47 partial void Deleteaspnet_PersonalizationPerUser(aspnet_PersonalizationPerUser instance);48 partial void Insertaspnet_Profile(aspnet_Profile instance);49 partial void Updateaspnet_Profile(aspnet_Profile instance);50 partial void Deleteaspnet_Profile(aspnet_Profile instance);51 39 partial void Insertaspnet_Role(aspnet_Role instance); 52 40 partial void Updateaspnet_Role(aspnet_Role instance); 53 41 partial void Deleteaspnet_Role(aspnet_Role instance); 54 partial void Insertaspnet_SchemaVersion(aspnet_SchemaVersion instance);55 partial void Updateaspnet_SchemaVersion(aspnet_SchemaVersion instance);56 partial void Deleteaspnet_SchemaVersion(aspnet_SchemaVersion instance);57 42 partial void Insertaspnet_User(aspnet_User instance); 58 43 partial void Updateaspnet_User(aspnet_User instance); … … 61 46 partial void Updateaspnet_UsersInRole(aspnet_UsersInRole instance); 62 47 partial void Deleteaspnet_UsersInRole(aspnet_UsersInRole instance); 63 partial void Insertaspnet_WebEvent_Event(aspnet_WebEvent_Event instance);64 partial void Updateaspnet_WebEvent_Event(aspnet_WebEvent_Event instance);65 partial void Deleteaspnet_WebEvent_Event(aspnet_WebEvent_Event instance);66 48 #endregion 67 49 … … 112 94 } 113 95 114 public System.Data.Linq.Table<aspnet_Path> aspnet_Paths115 {116 get117 {118 return this.GetTable<aspnet_Path>();119 }120 }121 122 public System.Data.Linq.Table<aspnet_PersonalizationAllUser> aspnet_PersonalizationAllUsers123 {124 get125 {126 return this.GetTable<aspnet_PersonalizationAllUser>();127 }128 }129 130 public System.Data.Linq.Table<aspnet_PersonalizationPerUser> aspnet_PersonalizationPerUsers131 {132 get133 {134 return this.GetTable<aspnet_PersonalizationPerUser>();135 }136 }137 138 public System.Data.Linq.Table<aspnet_Profile> aspnet_Profiles139 {140 get141 {142 return this.GetTable<aspnet_Profile>();143 }144 }145 146 96 public System.Data.Linq.Table<aspnet_Role> aspnet_Roles 147 97 { … … 152 102 } 153 103 154 public System.Data.Linq.Table<aspnet_SchemaVersion> aspnet_SchemaVersions155 {156 get157 {158 return this.GetTable<aspnet_SchemaVersion>();159 }160 }161 162 104 public System.Data.Linq.Table<aspnet_User> aspnet_Users 163 105 { … … 176 118 } 177 119 178 public System.Data.Linq.Table<aspnet_WebEvent_Event> aspnet_WebEvent_Events 179 { 180 get 181 { 182 return this.GetTable<aspnet_WebEvent_Event>(); 183 } 184 } 185 186 [global::System.Data.Linq.Mapping.FunctionAttribute(Name="dbo.aspnet_Users_DeleteUser")] 187 public int aspnet_Users_DeleteUser([global::System.Data.Linq.Mapping.ParameterAttribute(Name="ApplicationName", DbType="NVarChar(256)")] string applicationName, [global::System.Data.Linq.Mapping.ParameterAttribute(Name="UserName", DbType="NVarChar(256)")] string userName, [global::System.Data.Linq.Mapping.ParameterAttribute(Name="TablesToDeleteFrom", DbType="Int")] System.Nullable<int> tablesToDeleteFrom, [global::System.Data.Linq.Mapping.ParameterAttribute(Name="NumTablesDeletedFrom", DbType="Int")] ref System.Nullable<int> numTablesDeletedFrom) 188 { 189 IExecuteResult result = this.ExecuteMethodCall(this, ((MethodInfo)(MethodInfo.GetCurrentMethod())), applicationName, userName, tablesToDeleteFrom, numTablesDeletedFrom); 190 numTablesDeletedFrom = ((System.Nullable<int>)(result.GetParameterValue(3))); 191 return ((int)(result.ReturnValue)); 192 } 193 194 [global::System.Data.Linq.Mapping.FunctionAttribute(Name="dbo.aspnet_Users_CreateUser")] 195 public int aspnet_Users_CreateUser([global::System.Data.Linq.Mapping.ParameterAttribute(Name="ApplicationId", DbType="UniqueIdentifier")] System.Nullable<System.Guid> applicationId, [global::System.Data.Linq.Mapping.ParameterAttribute(Name="UserName", DbType="NVarChar(256)")] string userName, [global::System.Data.Linq.Mapping.ParameterAttribute(Name="IsUserAnonymous", DbType="Bit")] System.Nullable<bool> isUserAnonymous, [global::System.Data.Linq.Mapping.ParameterAttribute(Name="LastActivityDate", DbType="DateTime")] System.Nullable<System.DateTime> lastActivityDate, [global::System.Data.Linq.Mapping.ParameterAttribute(Name="UserId", DbType="UniqueIdentifier")] ref System.Nullable<System.Guid> userId) 196 { 197 IExecuteResult result = this.ExecuteMethodCall(this, ((MethodInfo)(MethodInfo.GetCurrentMethod())), applicationId, userName, isUserAnonymous, lastActivityDate, userId); 198 userId = ((System.Nullable<System.Guid>)(result.GetParameterValue(4))); 199 return ((int)(result.ReturnValue)); 200 } 201 202 [global::System.Data.Linq.Mapping.FunctionAttribute(Name="dbo.aspnet_UsersInRoles_AddUsersToRoles")] 203 public ISingleResult<aspnet_UsersInRoles_AddUsersToRolesResult> aspnet_UsersInRoles_AddUsersToRoles([global::System.Data.Linq.Mapping.ParameterAttribute(Name="ApplicationName", DbType="NVarChar(256)")] string applicationName, [global::System.Data.Linq.Mapping.ParameterAttribute(Name="UserNames", DbType="NVarChar(4000)")] string userNames, [global::System.Data.Linq.Mapping.ParameterAttribute(Name="RoleNames", DbType="NVarChar(4000)")] string roleNames, [global::System.Data.Linq.Mapping.ParameterAttribute(Name="CurrentTimeUtc", DbType="DateTime")] System.Nullable<System.DateTime> currentTimeUtc) 204 { 205 IExecuteResult result = this.ExecuteMethodCall(this, ((MethodInfo)(MethodInfo.GetCurrentMethod())), applicationName, userNames, roleNames, currentTimeUtc); 206 return ((ISingleResult<aspnet_UsersInRoles_AddUsersToRolesResult>)(result.ReturnValue)); 207 } 208 209 [global::System.Data.Linq.Mapping.FunctionAttribute(Name="dbo.aspnet_UsersInRoles_RemoveUsersFromRoles")] 210 public ISingleResult<aspnet_UsersInRoles_RemoveUsersFromRolesResult> aspnet_UsersInRoles_RemoveUsersFromRoles([global::System.Data.Linq.Mapping.ParameterAttribute(Name="ApplicationName", DbType="NVarChar(256)")] string applicationName, [global::System.Data.Linq.Mapping.ParameterAttribute(Name="UserNames", DbType="NVarChar(4000)")] string userNames, [global::System.Data.Linq.Mapping.ParameterAttribute(Name="RoleNames", DbType="NVarChar(4000)")] string roleNames) 211 { 212 IExecuteResult result = this.ExecuteMethodCall(this, ((MethodInfo)(MethodInfo.GetCurrentMethod())), applicationName, userNames, roleNames); 213 return ((ISingleResult<aspnet_UsersInRoles_RemoveUsersFromRolesResult>)(result.ReturnValue)); 214 } 215 216 [global::System.Data.Linq.Mapping.FunctionAttribute(Name="dbo.aspnet_UsersInRoles_IsUserInRole")] 217 public int aspnet_UsersInRoles_IsUserInRole([global::System.Data.Linq.Mapping.ParameterAttribute(Name="ApplicationName", DbType="NVarChar(256)")] string applicationName, [global::System.Data.Linq.Mapping.ParameterAttribute(Name="UserName", DbType="NVarChar(256)")] string userName, [global::System.Data.Linq.Mapping.ParameterAttribute(Name="RoleName", DbType="NVarChar(256)")] string roleName) 218 { 219 IExecuteResult result = this.ExecuteMethodCall(this, ((MethodInfo)(MethodInfo.GetCurrentMethod())), applicationName, userName, roleName); 220 return ((int)(result.ReturnValue)); 221 } 222 223 [global::System.Data.Linq.Mapping.FunctionAttribute(Name="dbo.aspnet_UsersInRoles_GetUsersInRoles")] 224 public ISingleResult<aspnet_UsersInRoles_GetUsersInRolesResult> aspnet_UsersInRoles_GetUsersInRoles([global::System.Data.Linq.Mapping.ParameterAttribute(Name="ApplicationName", DbType="NVarChar(256)")] string applicationName, [global::System.Data.Linq.Mapping.ParameterAttribute(Name="RoleName", DbType="NVarChar(256)")] string roleName) 225 { 226 IExecuteResult result = this.ExecuteMethodCall(this, ((MethodInfo)(MethodInfo.GetCurrentMethod())), applicationName, roleName); 227 return ((ISingleResult<aspnet_UsersInRoles_GetUsersInRolesResult>)(result.ReturnValue)); 228 } 229 230 [global::System.Data.Linq.Mapping.FunctionAttribute(Name="dbo.aspnet_UsersInRoles_GetRolesForUser")] 231 public ISingleResult<aspnet_UsersInRoles_GetRolesForUserResult> aspnet_UsersInRoles_GetRolesForUser([global::System.Data.Linq.Mapping.ParameterAttribute(Name="ApplicationName", DbType="NVarChar(256)")] string applicationName, [global::System.Data.Linq.Mapping.ParameterAttribute(Name="UserName", DbType="NVarChar(256)")] string userName) 232 { 233 IExecuteResult result = this.ExecuteMethodCall(this, ((MethodInfo)(MethodInfo.GetCurrentMethod())), applicationName, userName); 234 return ((ISingleResult<aspnet_UsersInRoles_GetRolesForUserResult>)(result.ReturnValue)); 235 } 236 237 [global::System.Data.Linq.Mapping.FunctionAttribute(Name="dbo.aspnet_UsersInRoles_FindUsersInRole")] 238 public ISingleResult<aspnet_UsersInRoles_FindUsersInRoleResult> aspnet_UsersInRoles_FindUsersInRole([global::System.Data.Linq.Mapping.ParameterAttribute(Name="ApplicationName", DbType="NVarChar(256)")] string applicationName, [global::System.Data.Linq.Mapping.ParameterAttribute(Name="RoleName", DbType="NVarChar(256)")] string roleName, [global::System.Data.Linq.Mapping.ParameterAttribute(Name="UserNameToMatch", DbType="NVarChar(256)")] string userNameToMatch) 239 { 240 IExecuteResult result = this.ExecuteMethodCall(this, ((MethodInfo)(MethodInfo.GetCurrentMethod())), applicationName, roleName, userNameToMatch); 241 return ((ISingleResult<aspnet_UsersInRoles_FindUsersInRoleResult>)(result.ReturnValue)); 242 } 243 244 [global::System.Data.Linq.Mapping.FunctionAttribute(Name="dbo.aspnet_Roles_CreateRole")] 245 public int aspnet_Roles_CreateRole([global::System.Data.Linq.Mapping.ParameterAttribute(Name="ApplicationName", DbType="NVarChar(256)")] string applicationName, [global::System.Data.Linq.Mapping.ParameterAttribute(Name="RoleName", DbType="NVarChar(256)")] string roleName) 246 { 247 IExecuteResult result = this.ExecuteMethodCall(this, ((MethodInfo)(MethodInfo.GetCurrentMethod())), applicationName, roleName); 248 return ((int)(result.ReturnValue)); 249 } 250 251 [global::System.Data.Linq.Mapping.FunctionAttribute(Name="dbo.aspnet_Roles_DeleteRole")] 252 public int aspnet_Roles_DeleteRole([global::System.Data.Linq.Mapping.ParameterAttribute(Name="ApplicationName", DbType="NVarChar(256)")] string applicationName, [global::System.Data.Linq.Mapping.ParameterAttribute(Name="RoleName", DbType="NVarChar(256)")] string roleName, [global::System.Data.Linq.Mapping.ParameterAttribute(Name="DeleteOnlyIfRoleIsEmpty", DbType="Bit")] System.Nullable<bool> deleteOnlyIfRoleIsEmpty) 253 { 254 IExecuteResult result = this.ExecuteMethodCall(this, ((MethodInfo)(MethodInfo.GetCurrentMethod())), applicationName, roleName, deleteOnlyIfRoleIsEmpty); 255 return ((int)(result.ReturnValue)); 256 } 257 258 [global::System.Data.Linq.Mapping.FunctionAttribute(Name="dbo.aspnet_Applications_CreateApplication")] 259 public int aspnet_Applications_CreateApplication([global::System.Data.Linq.Mapping.ParameterAttribute(Name="ApplicationName", DbType="NVarChar(256)")] string applicationName, [global::System.Data.Linq.Mapping.ParameterAttribute(Name="ApplicationId", DbType="UniqueIdentifier")] ref System.Nullable<System.Guid> applicationId) 260 { 261 IExecuteResult result = this.ExecuteMethodCall(this, ((MethodInfo)(MethodInfo.GetCurrentMethod())), applicationName, applicationId); 262 applicationId = ((System.Nullable<System.Guid>)(result.GetParameterValue(1))); 263 return ((int)(result.ReturnValue)); 264 } 265 266 [global::System.Data.Linq.Mapping.FunctionAttribute(Name="dbo.aspnet_Roles_RoleExists")] 267 public int aspnet_Roles_RoleExists([global::System.Data.Linq.Mapping.ParameterAttribute(Name="ApplicationName", DbType="NVarChar(256)")] string applicationName, [global::System.Data.Linq.Mapping.ParameterAttribute(Name="RoleName", DbType="NVarChar(256)")] string roleName) 268 { 269 IExecuteResult result = this.ExecuteMethodCall(this, ((MethodInfo)(MethodInfo.GetCurrentMethod())), applicationName, roleName); 270 return ((int)(result.ReturnValue)); 271 } 272 273 [global::System.Data.Linq.Mapping.FunctionAttribute(Name="dbo.aspnet_Roles_GetAllRoles")] 274 public ISingleResult<aspnet_Roles_GetAllRolesResult> aspnet_Roles_GetAllRoles([global::System.Data.Linq.Mapping.ParameterAttribute(Name="ApplicationName", DbType="NVarChar(256)")] string applicationName) 275 { 276 IExecuteResult result = this.ExecuteMethodCall(this, ((MethodInfo)(MethodInfo.GetCurrentMethod())), applicationName); 277 return ((ISingleResult<aspnet_Roles_GetAllRolesResult>)(result.ReturnValue)); 278 } 279 280 [global::System.Data.Linq.Mapping.FunctionAttribute(Name="dbo.aspnet_Membership_CreateUser")] 281 public int aspnet_Membership_CreateUser([global::System.Data.Linq.Mapping.ParameterAttribute(Name="ApplicationName", DbType="NVarChar(256)")] string applicationName, [global::System.Data.Linq.Mapping.ParameterAttribute(Name="UserName", DbType="NVarChar(256)")] string userName, [global::System.Data.Linq.Mapping.ParameterAttribute(Name="Password", DbType="NVarChar(128)")] string password, [global::System.Data.Linq.Mapping.ParameterAttribute(Name="PasswordSalt", DbType="NVarChar(128)")] string passwordSalt, [global::System.Data.Linq.Mapping.ParameterAttribute(Name="Email", DbType="NVarChar(256)")] string email, [global::System.Data.Linq.Mapping.ParameterAttribute(Name="PasswordQuestion", DbType="NVarChar(256)")] string passwordQuestion, [global::System.Data.Linq.Mapping.ParameterAttribute(Name="PasswordAnswer", DbType="NVarChar(128)")] string passwordAnswer, [global::System.Data.Linq.Mapping.ParameterAttribute(Name="IsApproved", DbType="Bit")] System.Nullable<bool> isApproved, [global::System.Data.Linq.Mapping.ParameterAttribute(Name="CurrentTimeUtc", DbType="DateTime")] System.Nullable<System.DateTime> currentTimeUtc, [global::System.Data.Linq.Mapping.ParameterAttribute(Name="CreateDate", DbType="DateTime")] System.Nullable<System.DateTime> createDate, [global::System.Data.Linq.Mapping.ParameterAttribute(Name="UniqueEmail", DbType="Int")] System.Nullable<int> uniqueEmail, [global::System.Data.Linq.Mapping.ParameterAttribute(Name="PasswordFormat", DbType="Int")] System.Nullable<int> passwordFormat, [global::System.Data.Linq.Mapping.ParameterAttribute(Name="UserId", DbType="UniqueIdentifier")] ref System.Nullable<System.Guid> userId) 282 { 283 IExecuteResult result = this.ExecuteMethodCall(this, ((MethodInfo)(MethodInfo.GetCurrentMethod())), applicationName, userName, password, passwordSalt, email, passwordQuestion, passwordAnswer, isApproved, currentTimeUtc, createDate, uniqueEmail, passwordFormat, userId); 284 userId = ((System.Nullable<System.Guid>)(result.GetParameterValue(12))); 120 [global::System.Data.Linq.Mapping.FunctionAttribute(Name="dbo.aspnet_Membership_ResetPassword")] 121 public int aspnet_Membership_ResetPassword([global::System.Data.Linq.Mapping.ParameterAttribute(Name="ApplicationName", DbType="NVarChar(256)")] string applicationName, [global::System.Data.Linq.Mapping.ParameterAttribute(Name="UserName", DbType="NVarChar(256)")] string userName, [global::System.Data.Linq.Mapping.ParameterAttribute(Name="NewPassword", DbType="NVarChar(128)")] string newPassword, [global::System.Data.Linq.Mapping.ParameterAttribute(Name="MaxInvalidPasswordAttempts", DbType="Int")] System.Nullable<int> maxInvalidPasswordAttempts, [global::System.Data.Linq.Mapping.ParameterAttribute(Name="PasswordAttemptWindow", DbType="Int")] System.Nullable<int> passwordAttemptWindow, [global::System.Data.Linq.Mapping.ParameterAttribute(Name="PasswordSalt", DbType="NVarChar(128)")] string passwordSalt, [global::System.Data.Linq.Mapping.ParameterAttribute(Name="CurrentTimeUtc", DbType="DateTime")] System.Nullable<System.DateTime> currentTimeUtc, [global::System.Data.Linq.Mapping.ParameterAttribute(Name="PasswordFormat", DbType="Int")] System.Nullable<int> passwordFormat, [global::System.Data.Linq.Mapping.ParameterAttribute(Name="PasswordAnswer", DbType="NVarChar(128)")] string passwordAnswer) 122 { 123 IExecuteResult result = this.ExecuteMethodCall(this, ((MethodInfo)(MethodInfo.GetCurrentMethod())), applicationName, userName, newPassword, maxInvalidPasswordAttempts, passwordAttemptWindow, passwordSalt, currentTimeUtc, passwordFormat, passwordAnswer); 285 124 return ((int)(result.ReturnValue)); 286 125 } … … 302 141 303 142 private EntitySet<aspnet_Membership> _aspnet_Memberships; 304 305 private EntitySet<aspnet_Path> _aspnet_Paths;306 143 307 144 private EntitySet<aspnet_Role> _aspnet_Roles; … … 326 163 { 327 164 this._aspnet_Memberships = new EntitySet<aspnet_Membership>(new Action<aspnet_Membership>(this.attach_aspnet_Memberships), new Action<aspnet_Membership>(this.detach_aspnet_Memberships)); 328 this._aspnet_Paths = new EntitySet<aspnet_Path>(new Action<aspnet_Path>(this.attach_aspnet_Paths), new Action<aspnet_Path>(this.detach_aspnet_Paths));329 165 this._aspnet_Roles = new EntitySet<aspnet_Role>(new Action<aspnet_Role>(this.attach_aspnet_Roles), new Action<aspnet_Role>(this.detach_aspnet_Roles)); 330 166 this._aspnet_Users = new EntitySet<aspnet_User>(new Action<aspnet_User>(this.attach_aspnet_Users), new Action<aspnet_User>(this.detach_aspnet_Users)); … … 425 261 } 426 262 427 [global::System.Data.Linq.Mapping.AssociationAttribute(Name="aspnet_Application_aspnet_Path", Storage="_aspnet_Paths", ThisKey="ApplicationId", OtherKey="ApplicationId")]428 public EntitySet<aspnet_Path> aspnet_Paths429 {430 get431 {432 return this._aspnet_Paths;433 }434 set435 {436 this._aspnet_Paths.Assign(value);437 }438 }439 440 263 [global::System.Data.Linq.Mapping.AssociationAttribute(Name="aspnet_Application_aspnet_Role", Storage="_aspnet_Roles", ThisKey="ApplicationId", OtherKey="ApplicationId")] 441 264 public EntitySet<aspnet_Role> aspnet_Roles … … 491 314 492 315 private void detach_aspnet_Memberships(aspnet_Membership entity) 493 {494 this.SendPropertyChanging();495 entity.aspnet_Application = null;496 }497 498 private void attach_aspnet_Paths(aspnet_Path entity)499 {500 this.SendPropertyChanging();501 entity.aspnet_Application = this;502 }503 504 private void detach_aspnet_Paths(aspnet_Path entity)505 316 { 506 317 this.SendPropertyChanging(); … … 1157 968 } 1158 969 1159 [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.aspnet_Paths")]1160 public partial class aspnet_Path : INotifyPropertyChanging, INotifyPropertyChanged1161 {1162 1163 private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);1164 1165 private System.Guid _ApplicationId;1166 1167 private System.Guid _PathId;1168 1169 private string _Path;1170 1171 private string _LoweredPath;1172 1173 private EntityRef<aspnet_PersonalizationAllUser> _aspnet_PersonalizationAllUser;1174 1175 private EntitySet<aspnet_PersonalizationPerUser> _aspnet_PersonalizationPerUsers;1176 1177 private EntityRef<aspnet_Application> _aspnet_Application;1178 1179 #region Extensibility Method Definitions1180 partial void OnLoaded();1181 partial void OnValidate(System.Data.Linq.ChangeAction action);1182 partial void OnCreated();1183 partial void OnApplicationIdChanging(System.Guid value);1184 partial void OnApplicationIdChanged();1185 partial void OnPathIdChanging(System.Guid value);1186 partial void OnPathIdChanged();1187 partial void OnPathChanging(string value);1188 partial void OnPathChanged();1189 partial void OnLoweredPathChanging(string value);1190 partial void OnLoweredPathChanged();1191 #endregion1192 1193 public aspnet_Path()1194 {1195 this._aspnet_PersonalizationAllUser = default(EntityRef<aspnet_PersonalizationAllUser>);1196 this._aspnet_PersonalizationPerUsers = new EntitySet<aspnet_PersonalizationPerUser>(new Action<aspnet_PersonalizationPerUser>(this.attach_aspnet_PersonalizationPerUsers), new Action<aspnet_PersonalizationPerUser>(this.detach_aspnet_PersonalizationPerUsers));1197 this._aspnet_Application = default(EntityRef<aspnet_Application>);1198 OnCreated();1199 }1200 1201 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ApplicationId", DbType="UniqueIdentifier NOT NULL")]1202 public System.Guid ApplicationId1203 {1204 get1205 {1206 return this._ApplicationId;1207 }1208 set1209 {1210 if ((this._ApplicationId != value))1211 {1212 if (this._aspnet_Application.HasLoadedOrAssignedValue)1213 {1214 throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();1215 }1216 this.OnApplicationIdChanging(value);1217 this.SendPropertyChanging();1218 this._ApplicationId = value;1219 this.SendPropertyChanged("ApplicationId");1220 this.OnApplicationIdChanged();1221 }1222 }1223 }1224 1225 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PathId", DbType="UniqueIdentifier NOT NULL", IsPrimaryKey=true)]1226 public System.Guid PathId1227 {1228 get1229 {1230 return this._PathId;1231 }1232 set1233 {1234 if ((this._PathId != value))1235 {1236 this.OnPathIdChanging(value);1237 this.SendPropertyChanging();1238 this._PathId = value;1239 this.SendPropertyChanged("PathId");1240 this.OnPathIdChanged();1241 }1242 }1243 }1244 1245 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Path", DbType="NVarChar(256) NOT NULL", CanBeNull=false)]1246 public string Path1247 {1248 get1249 {1250 return this._Path;1251 }1252 set1253 {1254 if ((this._Path != value))1255 {1256 this.OnPathChanging(value);1257 this.SendPropertyChanging();1258 this._Path = value;1259 this.SendPropertyChanged("Path");1260 this.OnPathChanged();1261 }1262 }1263 }1264 1265 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LoweredPath", DbType="NVarChar(256) NOT NULL", CanBeNull=false)]1266 public string LoweredPath1267 {1268 get1269 {1270 return this._LoweredPath;1271 }1272 set1273 {1274 if ((this._LoweredPath != value))1275 {1276 this.OnLoweredPathChanging(value);1277 this.SendPropertyChanging();1278 this._LoweredPath = value;1279 this.SendPropertyChanged("LoweredPath");1280 this.OnLoweredPathChanged();1281 }1282 }1283 }1284 1285 [global::System.Data.Linq.Mapping.AssociationAttribute(Name="aspnet_Path_aspnet_PersonalizationAllUser", Storage="_aspnet_PersonalizationAllUser", ThisKey="PathId", OtherKey="PathId", IsUnique=true, IsForeignKey=false)]1286 public aspnet_PersonalizationAllUser aspnet_PersonalizationAllUser1287 {1288 get1289 {1290 return this._aspnet_PersonalizationAllUser.Entity;1291 }1292 set1293 {1294 aspnet_PersonalizationAllUser previousValue = this._aspnet_PersonalizationAllUser.Entity;1295 if (((previousValue != value)1296 || (this._aspnet_PersonalizationAllUser.HasLoadedOrAssignedValue == false)))1297 {1298 this.SendPropertyChanging();1299 if ((previousValue != null))1300 {1301 this._aspnet_PersonalizationAllUser.Entity = null;1302 previousValue.aspnet_Path = null;1303 }1304 this._aspnet_PersonalizationAllUser.Entity = value;1305 if ((value != null))1306 {1307 value.aspnet_Path = this;1308 }1309 this.SendPropertyChanged("aspnet_PersonalizationAllUser");1310 }1311 }1312 }1313 1314 [global::System.Data.Linq.Mapping.AssociationAttribute(Name="aspnet_Path_aspnet_PersonalizationPerUser", Storage="_aspnet_PersonalizationPerUsers", ThisKey="PathId", OtherKey="PathId")]1315 public EntitySet<aspnet_PersonalizationPerUser> aspnet_PersonalizationPerUsers1316 {1317 get1318 {1319 return this._aspnet_PersonalizationPerUsers;1320 }1321 set1322 {1323 this._aspnet_PersonalizationPerUsers.Assign(value);1324 }1325 }1326 1327 [global::System.Data.Linq.Mapping.AssociationAttribute(Name="aspnet_Application_aspnet_Path", Storage="_aspnet_Application", ThisKey="ApplicationId", OtherKey="ApplicationId", IsForeignKey=true)]1328 public aspnet_Application aspnet_Application1329 {1330 get1331 {1332 return this._aspnet_Application.Entity;1333 }1334 set1335 {1336 aspnet_Application previousValue = this._aspnet_Application.Entity;1337 if (((previousValue != value)1338 || (this._aspnet_Application.HasLoadedOrAssignedValue == false)))1339 {1340 this.SendPropertyChanging();1341 if ((previousValue != null))1342 {1343 this._aspnet_Application.Entity = null;1344 previousValue.aspnet_Paths.Remove(this);1345 }1346 this._aspnet_Application.Entity = value;1347 if ((value != null))1348 {1349 value.aspnet_Paths.Add(this);1350 this._ApplicationId = value.ApplicationId;1351 }1352 else1353 {1354 this._ApplicationId = default(System.Guid);1355 }1356 this.SendPropertyChanged("aspnet_Application");1357 }1358 }1359 }1360 1361 public event PropertyChangingEventHandler PropertyChanging;1362 1363 public event PropertyChangedEventHandler PropertyChanged;1364 1365 protected virtual void SendPropertyChanging()1366 {1367 if ((this.PropertyChanging != null))1368 {1369 this.PropertyChanging(this, emptyChangingEventArgs);1370 }1371 }1372 1373 protected virtual void SendPropertyChanged(String propertyName)1374 {1375 if ((this.PropertyChanged != null))1376 {1377 this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));1378 }1379 }1380 1381 private void attach_aspnet_PersonalizationPerUsers(aspnet_PersonalizationPerUser entity)1382 {1383 this.SendPropertyChanging();1384 entity.aspnet_Path = this;1385 }1386 1387 private void detach_aspnet_PersonalizationPerUsers(aspnet_PersonalizationPerUser entity)1388 {1389 this.SendPropertyChanging();1390 entity.aspnet_Path = null;1391 }1392 }1393 1394 [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.aspnet_PersonalizationAllUsers")]1395 public partial class aspnet_PersonalizationAllUser : INotifyPropertyChanging, INotifyPropertyChanged1396 {1397 1398 private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);1399 1400 private System.Guid _PathId;1401 1402 private System.Data.Linq.Binary _PageSettings;1403 1404 private System.DateTime _LastUpdatedDate;1405 1406 private EntityRef<aspnet_Path> _aspnet_Path;1407 1408 #region Extensibility Method Definitions1409 partial void OnLoaded();1410 partial void OnValidate(System.Data.Linq.ChangeAction action);1411 partial void OnCreated();1412 partial void OnPathIdChanging(System.Guid value);1413 partial void OnPathIdChanged();1414 partial void OnPageSettingsChanging(System.Data.Linq.Binary value);1415 partial void OnPageSettingsChanged();1416 partial void OnLastUpdatedDateChanging(System.DateTime value);1417 partial void OnLastUpdatedDateChanged();1418 #endregion1419 1420 public aspnet_PersonalizationAllUser()1421 {1422 this._aspnet_Path = default(EntityRef<aspnet_Path>);1423 OnCreated();1424 }1425 1426 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PathId", DbType="UniqueIdentifier NOT NULL", IsPrimaryKey=true)]1427 public System.Guid PathId1428 {1429 get1430 {1431 return this._PathId;1432 }1433 set1434 {1435 if ((this._PathId != value))1436 {1437 if (this._aspnet_Path.HasLoadedOrAssignedValue)1438 {1439 throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();1440 }1441 this.OnPathIdChanging(value);1442 this.SendPropertyChanging();1443 this._PathId = value;1444 this.SendPropertyChanged("PathId");1445 this.OnPathIdChanged();1446 }1447 }1448 }1449 1450 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PageSettings", DbType="Image NOT NULL", CanBeNull=false, UpdateCheck=UpdateCheck.Never)]1451 public System.Data.Linq.Binary PageSettings1452 {1453 get1454 {1455 return this._PageSettings;1456 }1457 set1458 {1459 if ((this._PageSettings != value))1460 {1461 this.OnPageSettingsChanging(value);1462 this.SendPropertyChanging();1463 this._PageSettings = value;1464 this.SendPropertyChanged("PageSettings");1465 this.OnPageSettingsChanged();1466 }1467 }1468 }1469 1470 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LastUpdatedDate", DbType="DateTime NOT NULL")]1471 public System.DateTime LastUpdatedDate1472 {1473 get1474 {1475 return this._LastUpdatedDate;1476 }1477 set1478 {1479 if ((this._LastUpdatedDate != value))1480 {1481 this.OnLastUpdatedDateChanging(value);1482 this.SendPropertyChanging();1483 this._LastUpdatedDate = value;1484 this.SendPropertyChanged("LastUpdatedDate");1485 this.OnLastUpdatedDateChanged();1486 }1487 }1488 }1489 1490 [global::System.Data.Linq.Mapping.AssociationAttribute(Name="aspnet_Path_aspnet_PersonalizationAllUser", Storage="_aspnet_Path", ThisKey="PathId", OtherKey="PathId", IsForeignKey=true)]1491 public aspnet_Path aspnet_Path1492 {1493 get1494 {1495 return this._aspnet_Path.Entity;1496 }1497 set1498 {1499 aspnet_Path previousValue = this._aspnet_Path.Entity;1500 if (((previousValue != value)1501 || (this._aspnet_Path.HasLoadedOrAssignedValue == false)))1502 {1503 this.SendPropertyChanging();1504 if ((previousValue != null))1505 {1506 this._aspnet_Path.Entity = null;1507 previousValue.aspnet_PersonalizationAllUser = null;1508 }1509 this._aspnet_Path.Entity = value;1510 if ((value != null))1511 {1512 value.aspnet_PersonalizationAllUser = this;1513 this._PathId = value.PathId;1514 }1515 else1516 {1517 this._PathId = default(System.Guid);1518 }1519 this.SendPropertyChanged("aspnet_Path");1520 }1521 }1522 }1523 1524 public event PropertyChangingEventHandler PropertyChanging;1525 1526 public event PropertyChangedEventHandler PropertyChanged;1527 1528 protected virtual void SendPropertyChanging()1529 {1530 if ((this.PropertyChanging != null))1531 {1532 this.PropertyChanging(this, emptyChangingEventArgs);1533 }1534 }1535 1536 protected virtual void SendPropertyChanged(String propertyName)1537 {1538 if ((this.PropertyChanged != null))1539 {1540 this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));1541 }1542 }1543 }1544 1545 [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.aspnet_PersonalizationPerUser")]1546 public partial class aspnet_PersonalizationPerUser : INotifyPropertyChanging, INotifyPropertyChanged1547 {1548 1549 private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);1550 1551 private System.Guid _Id;1552 1553 private System.Nullable<System.Guid> _PathId;1554 1555 private System.Nullable<System.Guid> _UserId;1556 1557 private System.Data.Linq.Binary _PageSettings;1558 1559 private System.DateTime _LastUpdatedDate;1560 1561 private EntityRef<aspnet_Path> _aspnet_Path;1562 1563 private EntityRef<aspnet_User> _aspnet_User;1564 1565 #region Extensibility Method Definitions1566 partial void OnLoaded();1567 partial void OnValidate(System.Data.Linq.ChangeAction action);1568 partial void OnCreated();1569 partial void OnIdChanging(System.Guid value);1570 partial void OnIdChanged();1571 partial void OnPathIdChanging(System.Nullable<System.Guid> value);1572 partial void OnPathIdChanged();1573 partial void OnUserIdChanging(System.Nullable<System.Guid> value);1574 partial void OnUserIdChanged();1575 partial void OnPageSettingsChanging(System.Data.Linq.Binary value);1576 partial void OnPageSettingsChanged();1577 partial void OnLastUpdatedDateChanging(System.DateTime value);1578 partial void OnLastUpdatedDateChanged();1579 #endregion1580 1581 public aspnet_PersonalizationPerUser()1582 {1583 this._aspnet_Path = default(EntityRef<aspnet_Path>);1584 this._aspnet_User = default(EntityRef<aspnet_User>);1585 OnCreated();1586 }1587 1588 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Id", DbType="UniqueIdentifier NOT NULL", IsPrimaryKey=true)]1589 public System.Guid Id1590 {1591 get1592 {1593 return this._Id;1594 }1595 set1596 {1597 if ((this._Id != value))1598 {1599 this.OnIdChanging(value);1600 this.SendPropertyChanging();1601 this._Id = value;1602 this.SendPropertyChanged("Id");1603 this.OnIdChanged();1604 }1605 }1606 }1607 1608 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PathId", DbType="UniqueIdentifier")]1609 public System.Nullable<System.Guid> PathId1610 {1611 get1612 {1613 return this._PathId;1614 }1615 set1616 {1617 if ((this._PathId != value))1618 {1619 if (this._aspnet_Path.HasLoadedOrAssignedValue)1620 {1621 throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();1622 }1623 this.OnPathIdChanging(value);1624 this.SendPropertyChanging();1625 this._PathId = value;1626 this.SendPropertyChanged("PathId");1627 this.OnPathIdChanged();1628 }1629 }1630 }1631 1632 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UserId", DbType="UniqueIdentifier")]1633 public System.Nullable<System.Guid> UserId1634 {1635 get1636 {1637 return this._UserId;1638 }1639 set1640 {1641 if ((this._UserId != value))1642 {1643 if (this._aspnet_User.HasLoadedOrAssignedValue)1644 {1645 throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();1646 }1647 this.OnUserIdChanging(value);1648 this.SendPropertyChanging();1649 this._UserId = value;1650 this.SendPropertyChanged("UserId");1651 this.OnUserIdChanged();1652 }1653 }1654 }1655 1656 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PageSettings", DbType="Image NOT NULL", CanBeNull=false, UpdateCheck=UpdateCheck.Never)]1657 public System.Data.Linq.Binary PageSettings1658 {1659 get1660 {1661 return this._PageSettings;1662 }1663 set1664 {1665 if ((this._PageSettings != value))1666 {1667 this.OnPageSettingsChanging(value);1668 this.SendPropertyChanging();1669 this._PageSettings = value;1670 this.SendPropertyChanged("PageSettings");1671 this.OnPageSettingsChanged();1672 }1673 }1674 }1675 1676 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LastUpdatedDate", DbType="DateTime NOT NULL")]1677 public System.DateTime LastUpdatedDate1678 {1679 get1680 {1681 return this._LastUpdatedDate;1682 }1683 set1684 {1685 if ((this._LastUpdatedDate != value))1686 {1687 this.OnLastUpdatedDateChanging(value);1688 this.SendPropertyChanging();1689 this._LastUpdatedDate = value;1690 this.SendPropertyChanged("LastUpdatedDate");1691 this.OnLastUpdatedDateChanged();1692 }1693 }1694 }1695 1696 [global::System.Data.Linq.Mapping.AssociationAttribute(Name="aspnet_Path_aspnet_PersonalizationPerUser", Storage="_aspnet_Path", ThisKey="PathId", OtherKey="PathId", IsForeignKey=true)]1697 public aspnet_Path aspnet_Path1698 {1699 get1700 {1701 return this._aspnet_Path.Entity;1702 }1703 set1704 {1705 aspnet_Path previousValue = this._aspnet_Path.Entity;1706 if (((previousValue != value)1707 || (this._aspnet_Path.HasLoadedOrAssignedValue == false)))1708 {1709 this.SendPropertyChanging();1710 if ((previousValue != null))1711 {1712 this._aspnet_Path.Entity = null;1713 previousValue.aspnet_PersonalizationPerUsers.Remove(this);1714 }1715 this._aspnet_Path.Entity = value;1716 if ((value != null))1717 {1718 value.aspnet_PersonalizationPerUsers.Add(this);1719 this._PathId = value.PathId;1720 }1721 else1722 {1723 this._PathId = default(Nullable<System.Guid>);1724 }1725 this.SendPropertyChanged("aspnet_Path");1726 }1727 }1728 }1729 1730 [global::System.Data.Linq.Mapping.AssociationAttribute(Name="aspnet_User_aspnet_PersonalizationPerUser", Storage="_aspnet_User", ThisKey="UserId", OtherKey="UserId", IsForeignKey=true)]1731 public aspnet_User aspnet_User1732 {1733 get1734 {1735 return this._aspnet_User.Entity;1736 }1737 set1738 {1739 aspnet_User previousValue = this._aspnet_User.Entity;1740 if (((previousValue != value)1741 || (this._aspnet_User.HasLoadedOrAssignedValue == false)))1742 {1743 this.SendPropertyChanging();1744 if ((previousValue != null))1745 {1746 this._aspnet_User.Entity = null;1747 previousValue.aspnet_PersonalizationPerUsers.Remove(this);1748 }1749 this._aspnet_User.Entity = value;1750 if ((value != null))1751 {1752 value.aspnet_PersonalizationPerUsers.Add(this);1753 this._UserId = value.UserId;1754 }1755 else1756 {1757 this._UserId = default(Nullable<System.Guid>);1758 }1759 this.SendPropertyChanged("aspnet_User");1760 }1761 }1762 }1763 1764 public event PropertyChangingEventHandler PropertyChanging;1765 1766 public event PropertyChangedEventHandler PropertyChanged;1767 1768 protected virtual void SendPropertyChanging()1769 {1770 if ((this.PropertyChanging != null))1771 {1772 this.PropertyChanging(this, emptyChangingEventArgs);1773 }1774 }1775 1776 protected virtual void SendPropertyChanged(String propertyName)1777 {1778 if ((this.PropertyChanged != null))1779 {1780 this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));1781 }1782 }1783 }1784 1785 [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.aspnet_Profile")]1786 public partial class aspnet_Profile : INotifyPropertyChanging, INotifyPropertyChanged1787 {1788 1789 private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);1790 1791 private System.Guid _UserId;1792 1793 private string _PropertyNames;1794 1795 private string _PropertyValuesString;1796 1797 private System.Data.Linq.Binary _PropertyValuesBinary;1798 1799 private System.DateTime _LastUpdatedDate;1800 1801 private EntityRef<aspnet_User> _aspnet_User;1802 1803 #region Extensibility Method Definitions1804 partial void OnLoaded();1805 partial void OnValidate(System.Data.Linq.ChangeAction action);1806 partial void OnCreated();1807 partial void OnUserIdChanging(System.Guid value);1808 partial void OnUserIdChanged();1809 partial void OnPropertyNamesChanging(string value);1810 partial void OnPropertyNamesChanged();1811 partial void OnPropertyValuesStringChanging(string value);1812 partial void OnPropertyValuesStringChanged();1813 partial void OnPropertyValuesBinaryChanging(System.Data.Linq.Binary value);1814 partial void OnPropertyValuesBinaryChanged();1815 partial void OnLastUpdatedDateChanging(System.DateTime value);1816 partial void OnLastUpdatedDateChanged();1817 #endregion1818 1819 public aspnet_Profile()1820 {1821 this._aspnet_User = default(EntityRef<aspnet_User>);1822 OnCreated();1823 }1824 1825 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UserId", DbType="UniqueIdentifier NOT NULL", IsPrimaryKey=true)]1826 public System.Guid UserId1827 {1828 get1829 {1830 return this._UserId;1831 }1832 set1833 {1834 if ((this._UserId != value))1835 {1836 if (this._aspnet_User.HasLoadedOrAssignedValue)1837 {1838 throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();1839 }1840 this.OnUserIdChanging(value);1841 this.SendPropertyChanging();1842 this._UserId = value;1843 this.SendPropertyChanged("UserId");1844 this.OnUserIdChanged();1845 }1846 }1847 }1848 1849 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PropertyNames", DbType="NText NOT NULL", CanBeNull=false, UpdateCheck=UpdateCheck.Never)]1850 public string PropertyNames1851 {1852 get1853 {1854 return this._PropertyNames;1855 }1856 set1857 {1858 if ((this._PropertyNames != value))1859 {1860 this.OnPropertyNamesChanging(value);1861 this.SendPropertyChanging();1862 this._PropertyNames = value;1863 this.SendPropertyChanged("PropertyNames");1864 this.OnPropertyNamesChanged();1865 }1866 }1867 }1868 1869 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PropertyValuesString", DbType="NText NOT NULL", CanBeNull=false, UpdateCheck=UpdateCheck.Never)]1870 public string PropertyValuesString1871 {1872 get1873 {1874 return this._PropertyValuesString;1875 }1876 set1877 {1878 if ((this._PropertyValuesString != value))1879 {1880 this.OnPropertyValuesStringChanging(value);1881 this.SendPropertyChanging();1882 this._PropertyValuesString = value;1883 this.SendPropertyChanged("PropertyValuesString");1884 this.OnPropertyValuesStringChanged();1885 }1886 }1887 }1888 1889 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PropertyValuesBinary", DbType="Image NOT NULL", CanBeNull=false, UpdateCheck=UpdateCheck.Never)]1890 public System.Data.Linq.Binary PropertyValuesBinary1891 {1892 get1893 {1894 return this._PropertyValuesBinary;1895 }1896 set1897 {1898 if ((this._PropertyValuesBinary != value))1899 {1900 this.OnPropertyValuesBinaryChanging(value);1901 this.SendPropertyChanging();1902 this._PropertyValuesBinary = value;1903 this.SendPropertyChanged("PropertyValuesBinary");1904 this.OnPropertyValuesBinaryChanged();1905 }1906 }1907 }1908 1909 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LastUpdatedDate", DbType="DateTime NOT NULL")]1910 public System.DateTime LastUpdatedDate1911 {1912 get1913 {1914 return this._LastUpdatedDate;1915 }1916 set1917 {1918 if ((this._LastUpdatedDate != value))1919 {1920 this.OnLastUpdatedDateChanging(value);1921 this.SendPropertyChanging();1922 this._LastUpdatedDate = value;1923 this.SendPropertyChanged("LastUpdatedDate");1924 this.OnLastUpdatedDateChanged();1925 }1926 }1927 }1928 1929 [global::System.Data.Linq.Mapping.AssociationAttribute(Name="aspnet_User_aspnet_Profile", Storage="_aspnet_User", ThisKey="UserId", OtherKey="UserId", IsForeignKey=true)]1930 public aspnet_User aspnet_User1931 {1932 get1933 {1934 return this._aspnet_User.Entity;1935 }1936 set1937 {1938 aspnet_User previousValue = this._aspnet_User.Entity;1939 if (((previousValue != value)1940 || (this._aspnet_User.HasLoadedOrAssignedValue == false)))1941 {1942 this.SendPropertyChanging();1943 if ((previousValue != null))1944 {1945 this._aspnet_User.Entity = null;1946 previousValue.aspnet_Profile = null;1947 }1948 this._aspnet_User.Entity = value;1949 if ((value != null))1950 {1951 value.aspnet_Profile = this;1952 this._UserId = value.UserId;1953 }1954 else1955 {1956 this._UserId = default(System.Guid);1957 }1958 this.SendPropertyChanged("aspnet_User");1959 }1960 }1961 }1962 1963 public event PropertyChangingEventHandler PropertyChanging;1964 1965 public event PropertyChangedEventHandler PropertyChanged;1966 1967 protected virtual void SendPropertyChanging()1968 {1969 if ((this.PropertyChanging != null))1970 {1971 this.PropertyChanging(this, emptyChangingEventArgs);1972 }1973 }1974 1975 protected virtual void SendPropertyChanged(String propertyName)1976 {1977 if ((this.PropertyChanged != null))1978 {1979 this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));1980 }1981 }1982 }1983 1984 970 [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.aspnet_Roles")] 1985 971 public partial class aspnet_Role : INotifyPropertyChanging, INotifyPropertyChanged … … 2209 1195 } 2210 1196 2211 [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.aspnet_SchemaVersions")]2212 public partial class aspnet_SchemaVersion : INotifyPropertyChanging, INotifyPropertyChanged2213 {2214 2215 private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);2216 2217 private string _Feature;2218 2219 private string _CompatibleSchemaVersion;2220 2221 private bool _IsCurrentVersion;2222 2223 #region Extensibility Method Definitions2224 partial void OnLoaded();2225 partial void OnValidate(System.Data.Linq.ChangeAction action);2226 partial void OnCreated();2227 partial void OnFeatureChanging(string value);2228 partial void OnFeatureChanged();2229 partial void OnCompatibleSchemaVersionChanging(string value);2230 partial void OnCompatibleSchemaVersionChanged();2231 partial void OnIsCurrentVersionChanging(bool value);2232 partial void OnIsCurrentVersionChanged();2233 #endregion2234 2235 public aspnet_SchemaVersion()2236 {2237 OnCreated();2238 }2239 2240 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Feature", DbType="NVarChar(128) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]2241 public string Feature2242 {2243 get2244 {2245 return this._Feature;2246 }2247 set2248 {2249 if ((this._Feature != value))2250 {2251 this.OnFeatureChanging(value);2252 this.SendPropertyChanging();2253 this._Feature = value;2254 this.SendPropertyChanged("Feature");2255 this.OnFeatureChanged();2256 }2257 }2258 }2259 2260 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompatibleSchemaVersion", DbType="NVarChar(128) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]2261 public string CompatibleSchemaVersion2262 {2263 get2264 {2265 return this._CompatibleSchemaVersion;2266 }2267 set2268 {2269 if ((this._CompatibleSchemaVersion != value))2270 {2271 this.OnCompatibleSchemaVersionChanging(value);2272 this.SendPropertyChanging();2273 this._CompatibleSchemaVersion = value;2274 this.SendPropertyChanged("CompatibleSchemaVersion");2275 this.OnCompatibleSchemaVersionChanged();2276 }2277 }2278 }2279 2280 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsCurrentVersion", DbType="Bit NOT NULL")]2281 public bool IsCurrentVersion2282 {2283 get2284 {2285 return this._IsCurrentVersion;2286 }2287 set2288 {2289 if ((this._IsCurrentVersion != value))2290 {2291 this.OnIsCurrentVersionChanging(value);2292 this.SendPropertyChanging();2293 this._IsCurrentVersion = value;2294 this.SendPropertyChanged("IsCurrentVersion");2295 this.OnIsCurrentVersionChanged();2296 }2297 }2298 }2299 2300 public event PropertyChangingEventHandler PropertyChanging;2301 2302 public event PropertyChangedEventHandler PropertyChanged;2303 2304 protected virtual void SendPropertyChanging()2305 {2306 if ((this.PropertyChanging != null))2307 {2308 this.PropertyChanging(this, emptyChangingEventArgs);2309 }2310 }2311 2312 protected virtual void SendPropertyChanged(String propertyName)2313 {2314 if ((this.PropertyChanged != null))2315 {2316 this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));2317 }2318 }2319 }2320 2321 1197 [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.aspnet_Users")] 2322 1198 public partial class aspnet_User : INotifyPropertyChanging, INotifyPropertyChanged … … 2340 1216 2341 1217 private EntityRef<aspnet_Membership> _aspnet_Membership; 2342 2343 private EntitySet<aspnet_PersonalizationPerUser> _aspnet_PersonalizationPerUsers;2344 2345 private EntityRef<aspnet_Profile> _aspnet_Profile;2346 1218 2347 1219 private EntitySet<aspnet_UsersInRole> _aspnet_UsersInRoles; … … 2372 1244 { 2373 1245 this._aspnet_Membership = default(EntityRef<aspnet_Membership>); 2374 this._aspnet_PersonalizationPerUsers = new EntitySet<aspnet_PersonalizationPerUser>(new Action<aspnet_PersonalizationPerUser>(this.attach_aspnet_PersonalizationPerUsers), new Action<aspnet_PersonalizationPerUser>(this.detach_aspnet_PersonalizationPerUsers));2375 this._aspnet_Profile = default(EntityRef<aspnet_Profile>);2376 1246 this._aspnet_UsersInRoles = new EntitySet<aspnet_UsersInRole>(new Action<aspnet_UsersInRole>(this.attach_aspnet_UsersInRoles), new Action<aspnet_UsersInRole>(this.detach_aspnet_UsersInRoles)); 2377 1247 this._aspnet_Application = default(EntityRef<aspnet_Application>); … … 2552 1422 } 2553 1423 2554 [global::System.Data.Linq.Mapping.AssociationAttribute(Name="aspnet_User_aspnet_PersonalizationPerUser", Storage="_aspnet_PersonalizationPerUsers", ThisKey="UserId", OtherKey="UserId")]2555 public EntitySet<aspnet_PersonalizationPerUser> aspnet_PersonalizationPerUsers2556 {2557 get2558 {2559 return this._aspnet_PersonalizationPerUsers;2560 }2561 set2562 {2563 this._aspnet_PersonalizationPerUsers.Assign(value);2564 }2565 }2566 2567 [global::System.Data.Linq.Mapping.AssociationAttribute(Name="aspnet_User_aspnet_Profile", Storage="_aspnet_Profile", ThisKey="UserId", OtherKey="UserId", IsUnique=true, IsForeignKey=false)]2568 public aspnet_Profile aspnet_Profile2569 {2570 get2571 {2572 return this._aspnet_Profile.Entity;2573 }2574 set2575 {2576 aspnet_Profile previousValue = this._aspnet_Profile.Entity;2577 if (((previousValue != value)2578 || (this._aspnet_Profile.HasLoadedOrAssignedValue == false)))2579 {2580 this.SendPropertyChanging();2581 if ((previousValue != null))2582 {2583 this._aspnet_Profile.Entity = null;2584 previousValue.aspnet_User = null;2585 }2586 this._aspnet_Profile.Entity = value;2587 if ((value != null))2588 {2589 value.aspnet_User = this;2590 }2591 this.SendPropertyChanged("aspnet_Profile");2592 }2593 }2594 }2595 2596 1424 [global::System.Data.Linq.Mapping.AssociationAttribute(Name="aspnet_User_aspnet_UsersInRole", Storage="_aspnet_UsersInRoles", ThisKey="UserId", OtherKey="UserId")] 2597 1425 public EntitySet<aspnet_UsersInRole> aspnet_UsersInRoles … … 2659 1487 this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); 2660 1488 } 2661 }2662 2663 private void attach_aspnet_PersonalizationPerUsers(aspnet_PersonalizationPerUser entity)2664 {2665 this.SendPropertyChanging();2666 entity.aspnet_User = this;2667 }2668 2669 private void detach_aspnet_PersonalizationPerUsers(aspnet_PersonalizationPerUser entity)2670 {2671 this.SendPropertyChanging();2672 entity.aspnet_User = null;2673 1489 } 2674 1490 … … 2853 1669 } 2854 1670 } 2855 2856 [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.aspnet_WebEvent_Events")]2857 public partial class aspnet_WebEvent_Event : INotifyPropertyChanging, INotifyPropertyChanged2858 {2859 2860 private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);2861 2862 private string _EventId;2863 2864 private System.DateTime _EventTimeUtc;2865 2866 private System.DateTime _EventTime;2867 2868 private string _EventType;2869 2870 private decimal _EventSequence;2871 2872 private decimal _EventOccurrence;2873 2874 private int _EventCode;2875 2876 private int _EventDetailCode;2877 2878 private string _Message;2879 2880 private string _ApplicationPath;2881 2882 private string _ApplicationVirtualPath;2883 2884 private string _MachineName;2885 2886 private string _RequestUrl;2887 2888 private string _ExceptionType;2889 2890 private string _Details;2891 2892 #region Extensibility Method Definitions2893 partial void OnLoaded();2894 partial void OnValidate(System.Data.Linq.ChangeAction action);2895 partial void OnCreated();2896 partial void OnEventIdChanging(string value);2897 partial void OnEventIdChanged();2898 partial void OnEventTimeUtcChanging(System.DateTime value);2899 partial void OnEventTimeUtcChanged();2900 partial void OnEventTimeChanging(System.DateTime value);2901 partial void OnEventTimeChanged();2902 partial void OnEventTypeChanging(string value);2903 partial void OnEventTypeChanged();2904 partial void OnEventSequenceChanging(decimal value);2905 partial void OnEventSequenceChanged();2906 partial void OnEventOccurrenceChanging(decimal value);2907 partial void OnEventOccurrenceChanged();2908 partial void OnEventCodeChanging(int value);2909 partial void OnEventCodeChanged();2910 partial void OnEventDetailCodeChanging(int value);2911 partial void OnEventDetailCodeChanged();2912 partial void OnMessageChanging(string value);2913 partial void OnMessageChanged();2914 partial void OnApplicationPathChanging(string value);2915 partial void OnApplicationPathChanged();2916 partial void OnApplicationVirtualPathChanging(string value);2917 partial void OnApplicationVirtualPathChanged();2918 partial void OnMachineNameChanging(string value);2919 partial void OnMachineNameChanged();2920 partial void OnRequestUrlChanging(string value);2921 partial void OnRequestUrlChanged();2922 partial void OnExceptionTypeChanging(string value);2923 partial void OnExceptionTypeChanged();2924 partial void OnDetailsChanging(string value);2925 partial void OnDetailsChanged();2926 #endregion2927 2928 public aspnet_WebEvent_Event()2929 {2930 OnCreated();2931 }2932 2933 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EventId", DbType="Char(32) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]2934 public string EventId2935 {2936 get2937 {2938 return this._EventId;2939 }2940 set2941 {2942 if ((this._EventId != value))2943 {2944 this.OnEventIdChanging(value);2945 this.SendPropertyChanging();2946 this._EventId = value;2947 this.SendPropertyChanged("EventId");2948 this.OnEventIdChanged();2949 }2950 }2951 }2952 2953 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EventTimeUtc", DbType="DateTime NOT NULL")]2954 public System.DateTime EventTimeUtc2955 {2956 get2957 {2958 return this._EventTimeUtc;2959 }2960 set2961 {2962 if ((this._EventTimeUtc != value))2963 {2964 this.OnEventTimeUtcChanging(value);2965 this.SendPropertyChanging();2966 this._EventTimeUtc = value;2967 this.SendPropertyChanged("EventTimeUtc");2968 this.OnEventTimeUtcChanged();2969 }2970 }2971 }2972 2973 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EventTime", DbType="DateTime NOT NULL")]2974 public System.DateTime EventTime2975 {2976 get2977 {2978 return this._EventTime;2979 }2980 set2981 {2982 if ((this._EventTime != value))2983 {2984 this.OnEventTimeChanging(value);2985 this.SendPropertyChanging();2986 this._EventTime = value;2987 this.SendPropertyChanged("EventTime");2988 this.OnEventTimeChanged();2989 }2990 }2991 }2992 2993 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EventType", DbType="NVarChar(256) NOT NULL", CanBeNull=false)]2994 public string EventType2995 {2996 get2997 {2998 return this._EventType;2999 }3000 set3001 {3002 if ((this._EventType != value))3003 {3004 this.OnEventTypeChanging(value);3005 this.SendPropertyChanging();3006 this._EventType = value;3007 this.SendPropertyChanged("EventType");3008 this.OnEventTypeChanged();3009 }3010 }3011 }3012 3013 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EventSequence", DbType="Decimal(19,0) NOT NULL")]3014 public decimal EventSequence3015 {3016 get3017 {3018 return this._EventSequence;3019 }3020 set3021 {3022 if ((this._EventSequence != value))3023 {3024 this.OnEventSequenceChanging(value);3025 this.SendPropertyChanging();3026 this._EventSequence = value;3027 this.SendPropertyChanged("EventSequence");3028 this.OnEventSequenceChanged();3029 }3030 }3031 }3032 3033 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EventOccurrence", DbType="Decimal(19,0) NOT NULL")]3034 public decimal EventOccurrence3035 {3036 get3037 {3038 return this._EventOccurrence;3039 }3040 set3041 {3042 if ((this._EventOccurrence != value))3043 {3044 this.OnEventOccurrenceChanging(value);3045 this.SendPropertyChanging();3046 this._EventOccurrence = value;3047 this.SendPropertyChanged("EventOccurrence");3048 this.OnEventOccurrenceChanged();3049 }3050 }3051 }3052 3053 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EventCode", DbType="Int NOT NULL")]3054 public int EventCode3055 {3056 get3057 {3058 return this._EventCode;3059 }3060 set3061 {3062 if ((this._EventCode != value))3063 {3064 this.OnEventCodeChanging(value);3065 this.SendPropertyChanging();3066 this._EventCode = value;3067 this.SendPropertyChanged("EventCode");3068 this.OnEventCodeChanged();3069 }3070 }3071 }3072 3073 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EventDetailCode", DbType="Int NOT NULL")]3074 public int EventDetailCode3075 {3076 get3077 {3078 return this._EventDetailCode;3079 }3080 set3081 {3082 if ((this._EventDetailCode != value))3083 {3084 this.OnEventDetailCodeChanging(value);3085 this.SendPropertyChanging();3086 this._EventDetailCode = value;3087 this.SendPropertyChanged("EventDetailCode");3088 this.OnEventDetailCodeChanged();3089 }3090 }3091 }3092 3093 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Message", DbType="NVarChar(1024)")]3094 public string Message3095 {3096 get3097 {3098 return this._Message;3099 }3100 set3101 {3102 if ((this._Message != value))3103 {3104 this.OnMessageChanging(value);3105 this.SendPropertyChanging();3106 this._Message = value;3107 this.SendPropertyChanged("Message");3108 this.OnMessageChanged();3109 }3110 }3111 }3112 3113 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ApplicationPath", DbType="NVarChar(256)")]3114 public string ApplicationPath3115 {3116 get3117 {3118 return this._ApplicationPath;3119 }3120 set3121 {3122 if ((this._ApplicationPath != value))3123 {3124 this.OnApplicationPathChanging(value);3125 this.SendPropertyChanging();3126 this._ApplicationPath = value;3127 this.SendPropertyChanged("ApplicationPath");3128 this.OnApplicationPathChanged();3129 }3130 }3131 }3132 3133 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ApplicationVirtualPath", DbType="NVarChar(256)")]3134 public string ApplicationVirtualPath3135 {3136 get3137 {3138 return this._ApplicationVirtualPath;3139 }3140 set3141 {3142 if ((this._ApplicationVirtualPath != value))3143 {3144 this.OnApplicationVirtualPathChanging(value);3145 this.SendPropertyChanging();3146 this._ApplicationVirtualPath = value;3147 this.SendPropertyChanged("ApplicationVirtualPath");3148 this.OnApplicationVirtualPathChanged();3149 }3150 }3151 }3152 3153 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MachineName", DbType="NVarChar(256) NOT NULL", CanBeNull=false)]3154 public string MachineName3155 {3156 get3157 {3158 return this._MachineName;3159 }3160 set3161 {3162 if ((this._MachineName != value))3163 {3164 this.OnMachineNameChanging(value);3165 this.SendPropertyChanging();3166 this._MachineName = value;3167 this.SendPropertyChanged("MachineName");3168 this.OnMachineNameChanged();3169 }3170 }3171 }3172 3173 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RequestUrl", DbType="NVarChar(1024)")]3174 public string RequestUrl3175 {3176 get3177 {3178 return this._RequestUrl;3179 }3180 set3181 {3182 if ((this._RequestUrl != value))3183 {3184 this.OnRequestUrlChanging(value);3185 this.SendPropertyChanging();3186 this._RequestUrl = value;3187 this.SendPropertyChanged("RequestUrl");3188 this.OnRequestUrlChanged();3189 }3190 }3191 }3192 3193 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ExceptionType", DbType="NVarChar(256)")]3194 public string ExceptionType3195 {3196 get3197 {3198 return this._ExceptionType;3199 }3200 set3201 {3202 if ((this._ExceptionType != value))3203 {3204 this.OnExceptionTypeChanging(value);3205 this.SendPropertyChanging();3206 this._ExceptionType = value;3207 this.SendPropertyChanged("ExceptionType");3208 this.OnExceptionTypeChanged();3209 }3210 }3211 }3212 3213 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Details", DbType="NText", UpdateCheck=UpdateCheck.Never)]3214 public string Details3215 {3216 get3217 {3218 return this._Details;3219 }3220 set3221 {3222 if ((this._Details != value))3223 {3224 this.OnDetailsChanging(value);3225 this.SendPropertyChanging();3226 this._Details = value;3227 this.SendPropertyChanged("Details");3228 this.OnDetailsChanged();3229 }3230 }3231 }3232 3233 public event PropertyChangingEventHandler PropertyChanging;3234 3235 public event PropertyChangedEventHandler PropertyChanged;3236 3237 protected virtual void SendPropertyChanging()3238 {3239 if ((this.PropertyChanging != null))3240 {3241 this.PropertyChanging(this, emptyChangingEventArgs);3242 }3243 }3244 3245 protected virtual void SendPropertyChanged(String propertyName)3246 {3247 if ((this.PropertyChanged != null))3248 {3249 this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));3250 }3251 }3252 }3253 3254 public partial class aspnet_UsersInRoles_AddUsersToRolesResult3255 {3256 3257 private string _Name;3258 3259 public aspnet_UsersInRoles_AddUsersToRolesResult()3260 {3261 }3262 3263 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Name", DbType="NVarChar(256) NOT NULL", CanBeNull=false)]3264 public string Name3265 {3266 get3267 {3268 return this._Name;3269 }3270 set3271 {3272 if ((this._Name != value))3273 {3274 this._Name = value;3275 }3276 }3277 }3278 }3279 3280 public partial class aspnet_UsersInRoles_RemoveUsersFromRolesResult3281 {3282 3283 private string _Column1;3284 3285 private string _Name;3286 3287 public aspnet_UsersInRoles_RemoveUsersFromRolesResult()3288 {3289 }3290 3291 [global::System.Data.Linq.Mapping.ColumnAttribute(Name="", Storage="_Column1", DbType="NVarChar(1) NOT NULL", CanBeNull=false)]3292 public string Column13293 {3294 get3295 {3296 return this._Column1;3297 }3298 set3299 {3300 if ((this._Column1 != value))3301 {3302 this._Column1 = value;3303 }3304 }3305 }3306 3307 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Name", DbType="NVarChar(256) NOT NULL", CanBeNull=false)]3308 public string Name3309 {3310 get3311 {3312 return this._Name;3313 }3314 set3315 {3316 if ((this._Name != value))3317 {3318 this._Name = value;3319 }3320 }3321 }3322 }3323 3324 public partial class aspnet_UsersInRoles_GetUsersInRolesResult3325 {3326 3327 private string _UserName;3328 3329 public aspnet_UsersInRoles_GetUsersInRolesResult()3330 {3331 }3332 3333 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UserName", DbType="NVarChar(256) NOT NULL", CanBeNull=false)]3334 public string UserName3335 {3336 get3337 {3338 return this._UserName;3339 }3340 set3341 {3342 if ((this._UserName != value))3343 {3344 this._UserName = value;3345 }3346 }3347 }3348 }3349 3350 public partial class aspnet_UsersInRoles_GetRolesForUserResult3351 {3352 3353 private string _RoleName;3354 3355 public aspnet_UsersInRoles_GetRolesForUserResult()3356 {3357 }3358 3359 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RoleName", DbType="NVarChar(256) NOT NULL", CanBeNull=false)]3360 public string RoleName3361 {3362 get3363 {3364 return this._RoleName;3365 }3366 set3367 {3368 if ((this._RoleName != value))3369 {3370 this._RoleName = value;3371 }3372 }3373 }3374 }3375 3376 public partial class aspnet_UsersInRoles_FindUsersInRoleResult3377 {3378 3379 private string _UserName;3380 3381 public aspnet_UsersInRoles_FindUsersInRoleResult()3382 {3383 }3384 3385 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UserName", DbType="NVarChar(256) NOT NULL", CanBeNull=false)]3386 public string UserName3387 {3388 get3389 {3390 return this._UserName;3391 }3392 set3393 {3394 if ((this._UserName != value))3395 {3396 this._UserName = value;3397 }3398 }3399 }3400 }3401 3402 public partial class aspnet_Roles_GetAllRolesResult3403 {3404 3405 private string _RoleName;3406 3407 public aspnet_Roles_GetAllRolesResult()3408 {3409 }3410 3411 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RoleName", DbType="NVarChar(256) NOT NULL", CanBeNull=false)]3412 public string RoleName3413 {3414 get3415 {3416 return this._RoleName;3417 }3418 set3419 {3420 if ((this._RoleName != value))3421 {3422 this._RoleName = value;3423 }3424 }3425 }3426 }3427 1671 } 3428 1672 #pragma warning restore 1591
Note: See TracChangeset
for help on using the changeset viewer.