/test/EntityFramework/FunctionalTests/Objects/AttributeBasedOCLoading.cs
C# | 7682 lines | 7653 code | 23 blank | 6 comment | 11 complexity | a483a66a78d8e3af6312a6de196ca41a MD5 | raw file
Large files files are truncated, but you can click here to view the full file
- // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.
- namespace System.Data.Entity.Objects
- {
- using System.CodeDom.Compiler;
- using System.Collections.Generic;
- using System.ComponentModel;
- using System.Data.Common;
- using System.Data.Entity.Core.Mapping;
- using System.Data.Entity.Core.Metadata.Edm;
- using System.Linq;
- using System.Reflection;
- using System.Runtime.Serialization;
- using System.Xml.Linq;
- using System.Xml.Serialization;
- using Xunit;
- public class AttributeBasedOCLoading : FunctionalTestBase
- {
- [Fact]
- public void O_space_types_are_discovered_when_using_attribute_based_mapping()
- {
- var edmItemCollection = new EdmItemCollection(
- new[]
- {
- XDocument.Load(
- typeof(AttributeBasedOCLoading).Assembly.GetManifestResourceStream(
- "System.Data.Entity.TestModels.TemplateModels.Schemas.MonsterModel.csdl")).CreateReader()
- });
- var storeItemCollection = new StoreItemCollection(
- new[]
- {
- XDocument.Load(
- typeof(AttributeBasedOCLoading).Assembly.GetManifestResourceStream(
- "System.Data.Entity.TestModels.TemplateModels.Schemas.MonsterModel.ssdl")).CreateReader()
- });
- var storageMappingItemCollection = LoadMsl(
- edmItemCollection, storeItemCollection, XDocument.Load(
- typeof(AttributeBasedOCLoading).Assembly.GetManifestResourceStream(
- "System.Data.Entity.TestModels.TemplateModels.Schemas.MonsterModel.msl")));
- var workspace = new MetadataWorkspace(
- () => edmItemCollection,
- () => storeItemCollection,
- () => storageMappingItemCollection);
- var assembly = BuildEntitiesAssembly(ObjectLayer);
- workspace.LoadFromAssembly(assembly);
- var oSpaceItems = (ObjectItemCollection)workspace.GetItemCollection(DataSpace.OSpace);
- // Sanity checks that types/relationships were actually found
- // Entity types
- var entityTypes = oSpaceItems
- .OfType<EdmType>()
- .Where(i => i.BuiltInTypeKind == BuiltInTypeKind.EntityType)
- .ToList();
- Assert.Equal(
- new[]
- {
- "BackOrderLine2Mm", "BackOrderLineMm", "BarcodeDetailMm", "BarcodeMm", "ComplaintMm", "ComputerDetailMm",
- "ComputerMm", "CustomerInfoMm", "CustomerMm", "DiscontinuedProductMm", "DriverMm", "IncorrectScanMm",
- "LastLoginMm", "LicenseMm", "LoginMm", "MessageMm", "OrderLineMm", "OrderMm", "OrderNoteMm",
- "OrderQualityCheckMm", "PageViewMm", "PasswordResetMm", "ProductDetailMm", "ProductMm", "ProductPageViewMm",
- "ProductPhotoMm", "ProductReviewMm", "ProductWebFeatureMm", "ResolutionMm", "RSATokenMm", "SmartCardMm",
- "SupplierInfoMm", "SupplierLogoMm", "SupplierMm", "SuspiciousActivityMm"
- },
- entityTypes.Select(i => i.Name).OrderBy(n => n));
- Assert.True(entityTypes.All(e => e.NamespaceName == "BuildMonsterModel"));
- Assert.True(entityTypes.All(e => oSpaceItems.GetClrType((StructuralType)e).Assembly == assembly));
- // Complex types
- var complexTypes = oSpaceItems
- .OfType<EdmType>()
- .Where(i => i.BuiltInTypeKind == BuiltInTypeKind.ComplexType)
- .ToList();
- Assert.Equal(
- new[] { "AuditInfoMm", "ConcurrencyInfoMm", "ContactDetailsMm", "DimensionsMm", "PhoneMm" },
- complexTypes.Select(i => i.Name).OrderBy(n => n));
- Assert.True(complexTypes.All(e => e.NamespaceName == "BuildMonsterModel"));
- Assert.True(complexTypes.All(e => oSpaceItems.GetClrType((StructuralType)e).Assembly == assembly));
- // Enum types
- var enumTypes = oSpaceItems
- .OfType<EdmType>()
- .Where(i => i.BuiltInTypeKind == BuiltInTypeKind.EnumType)
- .ToList();
- Assert.Equal(
- new[] { "LicenseStateMm", "PhoneTypeMm" },
- enumTypes.Select(i => i.Name).OrderBy(n => n));
- Assert.True(enumTypes.All(e => e.NamespaceName == "BuildMonsterModel"));
- Assert.True(enumTypes.All(e => oSpaceItems.GetClrType((EnumType)e).Assembly == assembly));
- // Associations
- var associations = oSpaceItems
- .OfType<AssociationType>()
- .Where(i => i.BuiltInTypeKind == BuiltInTypeKind.AssociationType)
- .ToList();
- Assert.Equal(
- new[]
- {
- "Barcode_BarcodeDetail", "Barcode_IncorrectScanActual", "Barcode_IncorrectScanExpected", "Complaint_Resolution",
- "Computer_ComputerDetail", "Customer_Complaints", "Customer_CustomerInfo", "Customer_Logins", "Customer_Orders",
- "DiscontinuedProduct_Replacement", "Driver_License", "Husband_Wife", "LastLogin_SmartCard", "Login_LastLogin",
- "Login_Orders", "Login_PageViews", "Login_PasswordResets", "Login_ReceivedMessages", "Login_RSAToken",
- "Login_SentMessages", "Login_SmartCard", "Login_SuspiciousActivity", "Order_OrderLines", "Order_OrderNotes",
- "Order_QualityCheck", "Product_Barcodes", "Product_OrderLines", "Product_ProductDetail", "Product_ProductPageViews",
- "Product_ProductPhoto", "Product_ProductReview", "Products_Suppliers", "ProductWebFeature_ProductPhoto",
- "ProductWebFeature_ProductReview", "Supplier_BackOrderLines", "Supplier_SupplierInfo", "Supplier_SupplierLogo"
- },
- associations.Select(i => i.Name).OrderBy(n => n));
- Assert.True(associations.All(e => e.NamespaceName == "MonsterNamespace"));
- }
- private static StorageMappingItemCollection LoadMsl(
- EdmItemCollection edmItemCollection, StoreItemCollection storeItemCollection, XDocument msl)
- {
- IList<EdmSchemaError> errors;
- return StorageMappingItemCollection.Create(
- edmItemCollection,
- storeItemCollection,
- new[] { msl.CreateReader() },
- null,
- out errors);
- }
- public Assembly BuildEntitiesAssembly(string source)
- {
- var options = new CompilerParameters
- {
- GenerateExecutable = false,
- GenerateInMemory = true
- };
- options.ReferencedAssemblies.Add(typeof(string).Assembly.Location);
- options.ReferencedAssemblies.Add(typeof(DbContext).Assembly.Location);
- options.ReferencedAssemblies.Add(typeof(DbConnection).Assembly.Location);
- options.ReferencedAssemblies.Add(typeof(Component).Assembly.Location);
- options.ReferencedAssemblies.Add(typeof(DataContractSerializer).Assembly.Location);
- options.ReferencedAssemblies.Add(typeof(XmlSerializer).Assembly.Location);
- options.ReferencedAssemblies.Add(typeof(IOrderedQueryable).Assembly.Location);
- return CodeDomProvider.CreateProvider("cs").CompileAssemblyFromSource(options, source).CompiledAssembly;
- }
- private const string ObjectLayer = @"
- //------------------------------------------------------------------------------
- // <auto-generated>
- // This code was generated from a template.
- //
- // Manual changes to this file may cause unexpected behavior in your application.
- // Manual changes to this file will be overwritten if the code is regenerated.
- // </auto-generated>
- //------------------------------------------------------------------------------
- using System;
- using System.ComponentModel;
- using System.Data.Entity.Core.EntityClient;
- using System.Data.Entity.Core.Objects;
- using System.Data.Entity.Core.Objects.DataClasses;
- using System.Linq;
- using System.Runtime.Serialization;
- using System.Xml.Serialization;
- [assembly: EdmSchemaAttribute()]
- #region EDM Relationship Metadata
- [assembly: EdmRelationshipAttribute(""MonsterNamespace"", ""Customer_Complaints"", ""Customer"", System.Data.Entity.Core.Metadata.Edm.RelationshipMultiplicity.ZeroOrOne, typeof(BuildMonsterModel.CustomerMm), ""Complaints"", System.Data.Entity.Core.Metadata.Edm.RelationshipMultiplicity.Many, typeof(BuildMonsterModel.ComplaintMm), true)]
- [assembly: EdmRelationshipAttribute(""MonsterNamespace"", ""Login_SentMessages"", ""Sender"", System.Data.Entity.Core.Metadata.Edm.RelationshipMultiplicity.One, typeof(BuildMonsterModel.LoginMm), ""Message"", System.Data.Entity.Core.Metadata.Edm.RelationshipMultiplicity.Many, typeof(BuildMonsterModel.MessageMm), true)]
- [assembly: EdmRelationshipAttribute(""MonsterNamespace"", ""Login_ReceivedMessages"", ""Recipient"", System.Data.Entity.Core.Metadata.Edm.RelationshipMultiplicity.One, typeof(BuildMonsterModel.LoginMm), ""Message"", System.Data.Entity.Core.Metadata.Edm.RelationshipMultiplicity.Many, typeof(BuildMonsterModel.MessageMm), true)]
- [assembly: EdmRelationshipAttribute(""MonsterNamespace"", ""Customer_CustomerInfo"", ""Customer"", System.Data.Entity.Core.Metadata.Edm.RelationshipMultiplicity.One, typeof(BuildMonsterModel.CustomerMm), ""Info"", System.Data.Entity.Core.Metadata.Edm.RelationshipMultiplicity.ZeroOrOne, typeof(BuildMonsterModel.CustomerInfoMm))]
- [assembly: EdmRelationshipAttribute(""MonsterNamespace"", ""Supplier_SupplierInfo"", ""Supplier"", System.Data.Entity.Core.Metadata.Edm.RelationshipMultiplicity.One, typeof(BuildMonsterModel.SupplierMm), ""Info"", System.Data.Entity.Core.Metadata.Edm.RelationshipMultiplicity.Many, typeof(BuildMonsterModel.SupplierInfoMm))]
- [assembly: EdmRelationshipAttribute(""MonsterNamespace"", ""Login_Orders"", ""Login"", System.Data.Entity.Core.Metadata.Edm.RelationshipMultiplicity.ZeroOrOne, typeof(BuildMonsterModel.LoginMm), ""Orders"", System.Data.Entity.Core.Metadata.Edm.RelationshipMultiplicity.Many, typeof(BuildMonsterModel.OrderMm))]
- [assembly: EdmRelationshipAttribute(""MonsterNamespace"", ""Order_OrderNotes"", ""Order"", System.Data.Entity.Core.Metadata.Edm.RelationshipMultiplicity.One, typeof(BuildMonsterModel.OrderMm), ""Notes"", System.Data.Entity.Core.Metadata.Edm.RelationshipMultiplicity.Many, typeof(BuildMonsterModel.OrderNoteMm))]
- [assembly: EdmRelationshipAttribute(""MonsterNamespace"", ""Order_QualityCheck"", ""Order"", System.Data.Entity.Core.Metadata.Edm.RelationshipMultiplicity.One, typeof(BuildMonsterModel.OrderMm), ""QualityCheck"", System.Data.Entity.Core.Metadata.Edm.RelationshipMultiplicity.ZeroOrOne, typeof(BuildMonsterModel.OrderQualityCheckMm), true)]
- [assembly: EdmRelationshipAttribute(""MonsterNamespace"", ""Supplier_SupplierLogo"", ""Supplier"", System.Data.Entity.Core.Metadata.Edm.RelationshipMultiplicity.One, typeof(BuildMonsterModel.SupplierMm), ""Logo"", System.Data.Entity.Core.Metadata.Edm.RelationshipMultiplicity.ZeroOrOne, typeof(BuildMonsterModel.SupplierLogoMm), true)]
- [assembly: EdmRelationshipAttribute(""MonsterNamespace"", ""Customer_Orders"", ""Customer"", System.Data.Entity.Core.Metadata.Edm.RelationshipMultiplicity.ZeroOrOne, typeof(BuildMonsterModel.CustomerMm), ""Order"", System.Data.Entity.Core.Metadata.Edm.RelationshipMultiplicity.Many, typeof(BuildMonsterModel.OrderMm), true)]
- [assembly: EdmRelationshipAttribute(""MonsterNamespace"", ""Customer_Logins"", ""Customer"", System.Data.Entity.Core.Metadata.Edm.RelationshipMultiplicity.One, typeof(BuildMonsterModel.CustomerMm), ""Logins"", System.Data.Entity.Core.Metadata.Edm.RelationshipMultiplicity.Many, typeof(BuildMonsterModel.LoginMm), true)]
- [assembly: EdmRelationshipAttribute(""MonsterNamespace"", ""Login_LastLogin"", ""Login"", System.Data.Entity.Core.Metadata.Edm.RelationshipMultiplicity.One, typeof(BuildMonsterModel.LoginMm), ""LastLogin"", System.Data.Entity.Core.Metadata.Edm.RelationshipMultiplicity.ZeroOrOne, typeof(BuildMonsterModel.LastLoginMm), true)]
- [assembly: EdmRelationshipAttribute(""MonsterNamespace"", ""LastLogin_SmartCard"", ""LastLogin"", System.Data.Entity.Core.Metadata.Edm.RelationshipMultiplicity.ZeroOrOne, typeof(BuildMonsterModel.LastLoginMm), ""SmartCard"", System.Data.Entity.Core.Metadata.Edm.RelationshipMultiplicity.ZeroOrOne, typeof(BuildMonsterModel.SmartCardMm))]
- [assembly: EdmRelationshipAttribute(""MonsterNamespace"", ""Order_OrderLines"", ""Order"", System.Data.Entity.Core.Metadata.Edm.RelationshipMultiplicity.One, typeof(BuildMonsterModel.OrderMm), ""OrderLines"", System.Data.Entity.Core.Metadata.Edm.RelationshipMultiplicity.Many, typeof(BuildMonsterModel.OrderLineMm), true)]
- [assembly: EdmRelationshipAttribute(""MonsterNamespace"", ""Product_OrderLines"", ""Product"", System.Data.Entity.Core.Metadata.Edm.RelationshipMultiplicity.One, typeof(BuildMonsterModel.ProductMm), ""OrderLines"", System.Data.Entity.Core.Metadata.Edm.RelationshipMultiplicity.Many, typeof(BuildMonsterModel.OrderLineMm), true)]
- [assembly: EdmRelationshipAttribute(""MonsterNamespace"", ""Products_Suppliers"", ""Products"", System.Data.Entity.Core.Metadata.Edm.RelationshipMultiplicity.Many, typeof(BuildMonsterModel.ProductMm), ""Suppliers"", System.Data.Entity.Core.Metadata.Edm.RelationshipMultiplicity.Many, typeof(BuildMonsterModel.SupplierMm))]
- [assembly: EdmRelationshipAttribute(""MonsterNamespace"", ""Supplier_BackOrderLines"", ""Supplier"", System.Data.Entity.Core.Metadata.Edm.RelationshipMultiplicity.ZeroOrOne, typeof(BuildMonsterModel.SupplierMm), ""BackOrderLines"", System.Data.Entity.Core.Metadata.Edm.RelationshipMultiplicity.Many, typeof(BuildMonsterModel.BackOrderLineMm))]
- [assembly: EdmRelationshipAttribute(""MonsterNamespace"", ""DiscontinuedProduct_Replacement"", ""Replacement"", System.Data.Entity.Core.Metadata.Edm.RelationshipMultiplicity.ZeroOrOne, typeof(BuildMonsterModel.ProductMm), ""DiscontinuedProduct"", System.Data.Entity.Core.Metadata.Edm.RelationshipMultiplicity.Many, typeof(BuildMonsterModel.DiscontinuedProductMm), true)]
- [assembly: EdmRelationshipAttribute(""MonsterNamespace"", ""Product_ProductDetail"", ""Product"", System.Data.Entity.Core.Metadata.Edm.RelationshipMultiplicity.One, typeof(BuildMonsterModel.ProductMm), ""ProductDetail"", System.Data.Entity.Core.Metadata.Edm.RelationshipMultiplicity.ZeroOrOne, typeof(BuildMonsterModel.ProductDetailMm), true)]
- [assembly: EdmRelationshipAttribute(""MonsterNamespace"", ""Product_ProductReview"", ""Product"", System.Data.Entity.Core.Metadata.Edm.RelationshipMultiplicity.One, typeof(BuildMonsterModel.ProductMm), ""ProductReview"", System.Data.Entity.Core.Metadata.Edm.RelationshipMultiplicity.Many, typeof(BuildMonsterModel.ProductReviewMm), true)]
- [assembly: EdmRelationshipAttribute(""MonsterNamespace"", ""Product_ProductPhoto"", ""Product"", System.Data.Entity.Core.Metadata.Edm.RelationshipMultiplicity.One, typeof(BuildMonsterModel.ProductMm), ""ProductPhoto"", System.Data.Entity.Core.Metadata.Edm.RelationshipMultiplicity.Many, typeof(BuildMonsterModel.ProductPhotoMm), true)]
- [assembly: EdmRelationshipAttribute(""MonsterNamespace"", ""ProductWebFeature_ProductPhoto"", ""ProductWebFeature"", System.Data.Entity.Core.Metadata.Edm.RelationshipMultiplicity.Many, typeof(BuildMonsterModel.ProductWebFeatureMm), ""ProductPhoto"", System.Data.Entity.Core.Metadata.Edm.RelationshipMultiplicity.ZeroOrOne, typeof(BuildMonsterModel.ProductPhotoMm), true)]
- [assembly: EdmRelationshipAttribute(""MonsterNamespace"", ""ProductWebFeature_ProductReview"", ""ProductWebFeature"", System.Data.Entity.Core.Metadata.Edm.RelationshipMultiplicity.Many, typeof(BuildMonsterModel.ProductWebFeatureMm), ""ProductReview"", System.Data.Entity.Core.Metadata.Edm.RelationshipMultiplicity.ZeroOrOne, typeof(BuildMonsterModel.ProductReviewMm), true)]
- [assembly: EdmRelationshipAttribute(""MonsterNamespace"", ""Complaint_Resolution"", ""Complaint"", System.Data.Entity.Core.Metadata.Edm.RelationshipMultiplicity.One, typeof(BuildMonsterModel.ComplaintMm), ""Resolution"", System.Data.Entity.Core.Metadata.Edm.RelationshipMultiplicity.ZeroOrOne, typeof(BuildMonsterModel.ResolutionMm))]
- [assembly: EdmRelationshipAttribute(""MonsterNamespace"", ""Barcode_IncorrectScanExpected"", ""Barcode"", System.Data.Entity.Core.Metadata.Edm.RelationshipMultiplicity.One, typeof(BuildMonsterModel.BarcodeMm), ""Expected"", System.Data.Entity.Core.Metadata.Edm.RelationshipMultiplicity.Many, typeof(BuildMonsterModel.IncorrectScanMm), true)]
- [assembly: EdmRelationshipAttribute(""MonsterNamespace"", ""Husband_Wife"", ""Husband"", System.Data.Entity.Core.Metadata.Edm.RelationshipMultiplicity.ZeroOrOne, typeof(BuildMonsterModel.CustomerMm), ""Wife"", System.Data.Entity.Core.Metadata.Edm.RelationshipMultiplicity.ZeroOrOne, typeof(BuildMonsterModel.CustomerMm))]
- [assembly: EdmRelationshipAttribute(""MonsterNamespace"", ""Barcode_IncorrectScanActual"", ""Barcode"", System.Data.Entity.Core.Metadata.Edm.RelationshipMultiplicity.ZeroOrOne, typeof(BuildMonsterModel.BarcodeMm), ""Actual"", System.Data.Entity.Core.Metadata.Edm.RelationshipMultiplicity.Many, typeof(BuildMonsterModel.IncorrectScanMm), true)]
- [assembly: EdmRelationshipAttribute(""MonsterNamespace"", ""Product_Barcodes"", ""Product"", System.Data.Entity.Core.Metadata.Edm.RelationshipMultiplicity.One, typeof(BuildMonsterModel.ProductMm), ""Barcodes"", System.Data.Entity.Core.Metadata.Edm.RelationshipMultiplicity.Many, typeof(BuildMonsterModel.BarcodeMm), true)]
- [assembly: EdmRelationshipAttribute(""MonsterNamespace"", ""Barcode_BarcodeDetail"", ""Barcode"", System.Data.Entity.Core.Metadata.Edm.RelationshipMultiplicity.One, typeof(BuildMonsterModel.BarcodeMm), ""BarcodeDetail"", System.Data.Entity.Core.Metadata.Edm.RelationshipMultiplicity.ZeroOrOne, typeof(BuildMonsterModel.BarcodeDetailMm), true)]
- [assembly: EdmRelationshipAttribute(""MonsterNamespace"", ""Login_SuspiciousActivity"", ""Login"", System.Data.Entity.Core.Metadata.Edm.RelationshipMultiplicity.ZeroOrOne, typeof(BuildMonsterModel.LoginMm), ""Activity"", System.Data.Entity.Core.Metadata.Edm.RelationshipMultiplicity.Many, typeof(BuildMonsterModel.SuspiciousActivityMm))]
- [assembly: EdmRelationshipAttribute(""MonsterNamespace"", ""Login_RSAToken"", ""Login"", System.Data.Entity.Core.Metadata.Edm.RelationshipMultiplicity.One, typeof(BuildMonsterModel.LoginMm), ""RSAToken"", System.Data.Entity.Core.Metadata.Edm.RelationshipMultiplicity.ZeroOrOne, typeof(BuildMonsterModel.RSATokenMm))]
- [assembly: EdmRelationshipAttribute(""MonsterNamespace"", ""Login_SmartCard"", ""Login"", System.Data.Entity.Core.Metadata.Edm.RelationshipMultiplicity.One, typeof(BuildMonsterModel.LoginMm), ""SmartCard"", System.Data.Entity.Core.Metadata.Edm.RelationshipMultiplicity.ZeroOrOne, typeof(BuildMonsterModel.SmartCardMm), true)]
- [assembly: EdmRelationshipAttribute(""MonsterNamespace"", ""Login_PasswordResets"", ""Login"", System.Data.Entity.Core.Metadata.Edm.RelationshipMultiplicity.One, typeof(BuildMonsterModel.LoginMm), ""PasswordResets"", System.Data.Entity.Core.Metadata.Edm.RelationshipMultiplicity.Many, typeof(BuildMonsterModel.PasswordResetMm), true)]
- [assembly: EdmRelationshipAttribute(""MonsterNamespace"", ""Product_ProductPageViews"", ""Product"", System.Data.Entity.Core.Metadata.Edm.RelationshipMultiplicity.One, typeof(BuildMonsterModel.ProductMm), ""ProductPageViews"", System.Data.Entity.Core.Metadata.Edm.RelationshipMultiplicity.Many, typeof(BuildMonsterModel.ProductPageViewMm), true)]
- [assembly: EdmRelationshipAttribute(""MonsterNamespace"", ""Login_PageViews"", ""Login"", System.Data.Entity.Core.Metadata.Edm.RelationshipMultiplicity.One, typeof(BuildMonsterModel.LoginMm), ""PageViews"", System.Data.Entity.Core.Metadata.Edm.RelationshipMultiplicity.Many, typeof(BuildMonsterModel.PageViewMm), true)]
- [assembly: EdmRelationshipAttribute(""MonsterNamespace"", ""Computer_ComputerDetail"", ""Computer"", System.Data.Entity.Core.Metadata.Edm.RelationshipMultiplicity.One, typeof(BuildMonsterModel.ComputerMm), ""ComputerDetail"", System.Data.Entity.Core.Metadata.Edm.RelationshipMultiplicity.One, typeof(BuildMonsterModel.ComputerDetailMm))]
- [assembly: EdmRelationshipAttribute(""MonsterNamespace"", ""Driver_License"", ""Driver"", System.Data.Entity.Core.Metadata.Edm.RelationshipMultiplicity.One, typeof(BuildMonsterModel.DriverMm), ""License"", System.Data.Entity.Core.Metadata.Edm.RelationshipMultiplicity.One, typeof(BuildMonsterModel.LicenseMm), true)]
- #endregion
- namespace BuildMonsterModel
- {
- #region Contexts
-
- /// <summary>
- /// No Metadata Documentation available.
- /// </summary>
- public partial class MonsterModel : ObjectContext
- {
- #region Constructors
-
- /// <summary>
- /// Initializes a new MonsterModel object using the connection string found in the 'MonsterModel' section of the application configuration file.
- /// </summary>
- public MonsterModel() : base(""name=MonsterModel"", ""MonsterModel"")
- {
- OnContextCreated();
- }
-
- /// <summary>
- /// Initialize a new MonsterModel object.
- /// </summary>
- public MonsterModel(string connectionString) : base(connectionString, ""MonsterModel"")
- {
- OnContextCreated();
- }
-
- /// <summary>
- /// Initialize a new MonsterModel object.
- /// </summary>
- public MonsterModel(EntityConnection connection) : base(connection, ""MonsterModel"")
- {
- OnContextCreated();
- }
-
- #endregion
-
- #region Partial Methods
-
- partial void OnContextCreated();
-
- #endregion
-
- #region ObjectSet Properties
-
- /// <summary>
- /// No Metadata Documentation available.
- /// </summary>
- public ObjectSet<CustomerMm> Customer
- {
- get
- {
- if ((_Customer == null))
- {
- _Customer = base.CreateObjectSet<CustomerMm>(""Customer"");
- }
- return _Customer;
- }
- }
- private ObjectSet<CustomerMm> _Customer;
-
- /// <summary>
- /// No Metadata Documentation available.
- /// </summary>
- public ObjectSet<BarcodeMm> Barcode
- {
- get
- {
- if ((_Barcode == null))
- {
- _Barcode = base.CreateObjectSet<BarcodeMm>(""Barcode"");
- }
- return _Barcode;
- }
- }
- private ObjectSet<BarcodeMm> _Barcode;
-
- /// <summary>
- /// No Metadata Documentation available.
- /// </summary>
- public ObjectSet<IncorrectScanMm> IncorrectScan
- {
- get
- {
- if ((_IncorrectScan == null))
- {
- _IncorrectScan = base.CreateObjectSet<IncorrectScanMm>(""IncorrectScan"");
- }
- return _IncorrectScan;
- }
- }
- private ObjectSet<IncorrectScanMm> _IncorrectScan;
-
- /// <summary>
- /// No Metadata Documentation available.
- /// </summary>
- public ObjectSet<BarcodeDetailMm> BarcodeDetail
- {
- get
- {
- if ((_BarcodeDetail == null))
- {
- _BarcodeDetail = base.CreateObjectSet<BarcodeDetailMm>(""BarcodeDetail"");
- }
- return _BarcodeDetail;
- }
- }
- private ObjectSet<BarcodeDetailMm> _BarcodeDetail;
-
- /// <summary>
- /// No Metadata Documentation available.
- /// </summary>
- public ObjectSet<ComplaintMm> Complaint
- {
- get
- {
- if ((_Complaint == null))
- {
- _Complaint = base.CreateObjectSet<ComplaintMm>(""Complaint"");
- }
- return _Complaint;
- }
- }
- private ObjectSet<ComplaintMm> _Complaint;
-
- /// <summary>
- /// No Metadata Documentation available.
- /// </summary>
- public ObjectSet<ResolutionMm> Resolution
- {
- get
- {
- if ((_Resolution == null))
- {
- _Resolution = base.CreateObjectSet<ResolutionMm>(""Resolution"");
- }
- return _Resolution;
- }
- }
- private ObjectSet<ResolutionMm> _Resolution;
-
- /// <summary>
- /// No Metadata Documentation available.
- /// </summary>
- public ObjectSet<LoginMm> Login
- {
- get
- {
- if ((_Login == null))
- {
- _Login = base.CreateObjectSet<LoginMm>(""Login"");
- }
- return _Login;
- }
- }
- private ObjectSet<LoginMm> _Login;
-
- /// <summary>
- /// No Metadata Documentation available.
- /// </summary>
- public ObjectSet<SuspiciousActivityMm> SuspiciousActivity
- {
- get
- {
- if ((_SuspiciousActivity == null))
- {
- _SuspiciousActivity = base.CreateObjectSet<SuspiciousActivityMm>(""SuspiciousActivity"");
- }
- return _SuspiciousActivity;
- }
- }
- private ObjectSet<SuspiciousActivityMm> _SuspiciousActivity;
-
- /// <summary>
- /// No Metadata Documentation available.
- /// </summary>
- public ObjectSet<SmartCardMm> SmartCard
- {
- get
- {
- if ((_SmartCard == null))
- {
- _SmartCard = base.CreateObjectSet<SmartCardMm>(""SmartCard"");
- }
- return _SmartCard;
- }
- }
- private ObjectSet<SmartCardMm> _SmartCard;
-
- /// <summary>
- /// No Metadata Documentation available.
- /// </summary>
- public ObjectSet<RSATokenMm> RSAToken
- {
- get
- {
- if ((_RSAToken == null))
- {
- _RSAToken = base.CreateObjectSet<RSATokenMm>(""RSAToken"");
- }
- return _RSAToken;
- }
- }
- private ObjectSet<RSATokenMm> _RSAToken;
-
- /// <summary>
- /// No Metadata Documentation available.
- /// </summary>
- public ObjectSet<PasswordResetMm> PasswordReset
- {
- get
- {
- if ((_PasswordReset == null))
- {
- _PasswordReset = base.CreateObjectSet<PasswordResetMm>(""PasswordReset"");
- }
- return _PasswordReset;
- }
- }
- private ObjectSet<PasswordResetMm> _PasswordReset;
-
- /// <summary>
- /// No Metadata Documentation available.
- /// </summary>
- public ObjectSet<PageViewMm> PageView
- {
- get
- {
- if ((_PageView == null))
- {
- _PageView = base.CreateObjectSet<PageViewMm>(""PageView"");
- }
- return _PageView;
- }
- }
- private ObjectSet<PageViewMm> _PageView;
-
- /// <summary>
- /// No Metadata Documentation available.
- /// </summary>
- public ObjectSet<LastLoginMm> LastLogin
- {
- get
- {
- if ((_LastLogin == null))
- {
- _LastLogin = base.CreateObjectSet<LastLoginMm>(""LastLogin"");
- }
- return _LastLogin;
- }
- }
- private ObjectSet<LastLoginMm> _LastLogin;
-
- /// <summary>
- /// No Metadata Documentation available.
- /// </summary>
- public ObjectSet<MessageMm> Message
- {
- get
- {
- if ((_Message == null))
- {
- _Message = base.CreateObjectSet<MessageMm>(""Message"");
- }
- return _Message;
- }
- }
- private ObjectSet<MessageMm> _Message;
-
- /// <summary>
- /// No Metadata Documentation available.
- /// </summary>
- public ObjectSet<OrderMm> Order
- {
- get
- {
- if ((_Order == null))
- {
- _Order = base.CreateObjectSet<OrderMm>(""Order"");
- }
- return _Order;
- }
- }
- private ObjectSet<OrderMm> _Order;
-
- /// <summary>
- /// No Metadata Documentation available.
- /// </summary>
- public ObjectSet<OrderNoteMm> OrderNote
- {
- get
- {
- if ((_OrderNote == null))
- {
- _OrderNote = base.CreateObjectSet<OrderNoteMm>(""OrderNote"");
- }
- return _OrderNote;
- }
- }
- private ObjectSet<OrderNoteMm> _OrderNote;
-
- /// <summary>
- /// No Metadata Documentation available.
- /// </summary>
- public ObjectSet<OrderQualityCheckMm> OrderQualityCheck
- {
- get
- {
- if ((_OrderQualityCheck == null))
- {
- _OrderQualityCheck = base.CreateObjectSet<OrderQualityCheckMm>(""OrderQualityCheck"");
- }
- return _OrderQualityCheck;
- }
- }
- private ObjectSet<OrderQualityCheckMm> _OrderQualityCheck;
-
- /// <summary>
- /// No Metadata Documentation available.
- /// </summary>
- public ObjectSet<OrderLineMm> OrderLine
- {
- get
- {
- if ((_OrderLine == null))
- {
- _OrderLine = base.CreateObjectSet<OrderLineMm>(""OrderLine"");
- }
- return _OrderLine;
- }
- }
- private ObjectSet<OrderLineMm> _OrderLine;
-
- /// <summary>
- /// No Metadata Documentation available.
- /// </summary>
- public ObjectSet<ProductMm> Product
- {
- get
- {
- if ((_Product == null))
- {
- _Product = base.CreateObjectSet<ProductMm>(""Product"");
- }
- return _Product;
- }
- }
- private ObjectSet<ProductMm> _Product;
-
- /// <summary>
- /// No Metadata Documentation available.
- /// </summary>
- public ObjectSet<ProductDetailMm> ProductDetail
- {
- get
- {
- if ((_ProductDetail == null))
- {
- _ProductDetail = base.CreateObjectSet<ProductDetailMm>(""ProductDetail"");
- }
- return _ProductDetail;
- }
- }
- private ObjectSet<ProductDetailMm> _ProductDetail;
-
- /// <summary>
- /// No Metadata Documentation available.
- /// </summary>
- public ObjectSet<ProductReviewMm> ProductReview
- {
- get
- {
- if ((_ProductReview == null))
- {
- _ProductReview = base.CreateObjectSet<ProductReviewMm>(""ProductReview"");
- }
- return _ProductReview;
- }
- }
- private ObjectSet<ProductReviewMm> _ProductReview;
-
- /// <summary>
- /// No Metadata Documentation available.
- /// </summary>
- public ObjectSet<ProductPhotoMm> ProductPhoto
- {
- get
- {
- if ((_ProductPhoto == null))
- {
- _ProductPhoto = base.CreateObjectSet<ProductPhotoMm>(""ProductPhoto"");
- }
- return _ProductPhoto;
- }
- }
- private ObjectSet<ProductPhotoMm> _ProductPhoto;
-
- /// <summary>
- /// No Metadata Documentation available.
- /// </summary>
- public ObjectSet<ProductWebFeatureMm> ProductWebFeature
- {
- get
- {
- if ((_ProductWebFeature == null))
- {
- _ProductWebFeature = base.CreateObjectSet<ProductWebFeatureMm>(""ProductWebFeature"");
- }
- return _ProductWebFeature;
- }
- }
- private ObjectSet<ProductWebFeatureMm> _ProductWebFeature;
-
- /// <summary>
- /// No Metadata Documentation available.
- /// </summary>
- public ObjectSet<SupplierMm> Supplier
- {
- get
- {
- if ((_Supplier == null))
- {
- _Supplier = base.CreateObjectSet<SupplierMm>(""Supplier"");
- }
- return _Supplier;
- }
- }
- private ObjectSet<SupplierMm> _Supplier;
-
- /// <summary>
- /// No Metadata Documentation available.
- /// </summary>
- public ObjectSet<SupplierLogoMm> SupplierLogo
- {
- get
- {
- if ((_SupplierLogo == null))
- {
- _SupplierLogo = base.CreateObjectSet<SupplierLogoMm>(""SupplierLogo"");
- }
- return _SupplierLogo;
- }
- }
- private ObjectSet<SupplierLogoMm> _SupplierLogo;
-
- /// <summary>
- /// No Metadata Documentation available.
- /// </summary>
- public ObjectSet<SupplierInfoMm> SupplierInfo
- {
- get
- {
- if ((_SupplierInfo == null))
- {
- _SupplierInfo = base.CreateObjectSet<SupplierInfoMm>(""SupplierInfo"");
- }
- return _SupplierInfo;
- }
- }
- private ObjectSet<SupplierInfoMm> _SupplierInfo;
-
- /// <summary>
- /// No Metadata Documentation available.
- /// </summary>
- public ObjectSet<CustomerInfoMm> CustomerInfo
- {
- get
- {
- if ((_CustomerInfo == null))
- {
- _CustomerInfo = base.CreateObjectSet<CustomerInfoMm>(""CustomerInfo"");
- }
- return _CustomerInfo;
- }
- }
- private ObjectSet<CustomerInfoMm> _CustomerInfo;
-
- /// <summary>
- /// No Metadata Documentation available.
- /// </summary>
- public ObjectSet<ComputerMm> Computer
- {
- get
- {
- if ((_Computer == null))
- {
- _Computer = base.CreateObjectSet<ComputerMm>(""Computer"");
- }
- return _Computer;
- }
- }
- private ObjectSet<ComputerMm> _Computer;
-
- /// <summary>
- /// No Metadata Documentation available.
- /// </summary>
- public ObjectSet<ComputerDetailMm> ComputerDetail
- {
- get
- {
- if ((_ComputerDetail == null))
- {
- _ComputerDetail = base.CreateObjectSet<ComputerDetailMm>(""ComputerDetail"");
- }
- return _ComputerDetail;
- }
- }
- private ObjectSet<ComputerDetailMm> _ComputerDetail;
-
- /// <summary>
- /// No Metadata Documentation available.
- /// </summary>
- public ObjectSet<DriverMm> Driver
- {
- get
- {
- if ((_Driver == null))
- {
- _Driver = base.CreateObjectSet<DriverMm>(""Driver"");
- }
- return _Driver;
- }
- }
- private ObjectSet<DriverMm> _Driver;
-
- /// <summary>
- /// No Metadata Documentation available.
- /// </summary>
- public ObjectSet<LicenseMm> License
- {
- get
- {
- if ((_License == null))
- {
- _License = base.CreateObjectSet<LicenseMm>(""License"");
- }
- return _License;
- }
- }
- private ObjectSet<LicenseMm> _License;
- #endregion
- #region AddTo Methods
-
- /// <summary>
- /// Deprecated Method for adding a new object to the Customer EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead.
- /// </summary>
- public void AddToCustomer(CustomerMm customerMm)
- {
- base.AddObject(""Customer"", customerMm);
- }
-
- /// <summary>
- /// Deprecated Method for adding a new object to the Barcode EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead.
- /// </summary>
- public void AddToBarcode(BarcodeMm barcodeMm)
- {
- base.AddObject(""Barcode"", barcodeMm);
- }
-
- /// <summary>
- /// Deprecated Method for adding a new object to the IncorrectScan EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead.
- /// </summary>
- public void AddToIncorrectScan(IncorrectScanMm incorrectScanMm)
- {
- base.AddObject(""IncorrectScan"", incorrectScanMm);
- }
-
- /// <summary>
- /// Deprecated Method for adding a new object to the BarcodeDetail EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead.
- /// </summary>
- public void AddToBarcodeDetail(BarcodeDetailMm barcodeDetailMm)
- {
- base.AddObject(""BarcodeDetail"", barcodeDetailMm);
- }
-
- /// <summary>
- /// Deprecated Method for adding a new object to the Complaint EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead.
- /// </summary>
- public void AddToComplaint(ComplaintMm complaintMm)
- {
- base.AddObject(""Complaint"", complaintMm);
- }
-
- /// <summary>
- /// Deprecated Method for adding a new object to the Resolution EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead.
- /// </summary>
- public void AddToResolution(ResolutionMm resolutionMm)
- {
- base.AddObject(""Resolution"", resolutionMm);
- }
-
- /// <summary>
- /// Deprecated Method for adding a new object to the Login EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead.
- /// </summary>
- public void AddToLogin(LoginMm loginMm)
- {
- base.AddObject(""Login"", loginMm);
- }
-
- /// <summary>
- /// Deprecated Method for adding a new object to the SuspiciousActivity EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead.
- /// </summary>
- public void AddToSuspiciousActivity(SuspiciousActivityMm suspiciousActivityMm)
- {
- base.AddObject(""SuspiciousActivity"", suspiciousActivityMm);
- }
-
- /// <summary>
- /// Deprecated Method for adding a new object to the SmartCard EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead.
- /// </summary>
- public void AddToSmartCard(SmartCardMm smartCardMm)
- {
- base.AddObject(""SmartCard"", smartCardMm);
- }
-
- /// <summary>
- /// Deprecated Method for adding a new object to the RSAToken EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead.
- /// </summary>
- public void AddToRSAToken(RSATokenMm rSATokenMm)
- {
- base.AddObject(""RSAToken"", rSATokenMm);
- }
-
- /// <summary>
- /// Deprecated Method for adding a new object to the PasswordReset EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead.
- /// </summary>
- public void AddToPasswordReset(PasswordResetMm passwordResetMm)
- {
- base.AddObject(""PasswordReset"", passwordResetMm);
- }
-
- /// <summary>
- /// Deprecated Method for adding a new object to the PageView EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead.
- /// </summary>
- public void AddToPageView(PageViewMm pageViewMm)
- {
- base.AddObject(""PageView"", pageViewMm);
- }
-
- /// <summary>
- /// Deprecated Method for adding a new object to the LastLogin EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead.
- /// </summary>
- public void AddToLastLogin(LastLoginMm lastLoginMm)
- {
- base.AddObject(""LastLogin"", lastLoginMm);
- }
-
- /// <summary>
- /// Deprecated Method for adding a new object to the Message EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead.
- /// </summary>
- public void AddToMessage(MessageMm messageMm)
- {
- base.AddObject(""Message"", messageMm);
- }
-
- /// <summary>
- /// Deprecated Method for adding a new object to the Order EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead.
- /// </summary>
- public void AddToOrder(OrderMm orderMm)
- {
- base.AddObject(""Order"", orderMm);
- }
-
- /// <summary>
- /// Deprecated Method for adding a new object to the OrderNote EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead.
- /// </summary>
- public void AddToOrderNote(OrderNoteMm orderNoteMm)
- {
- base.AddObject(""OrderNote"", orderNoteMm);
- }
-
- /// <summary>
- /// Deprecated Method for adding a new object to the OrderQualityCheck EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead.
- /// </summary>
- public void AddToOrderQualityCheck(OrderQualityCheckMm orderQualityCheckMm)
- {
- base.AddObject(""OrderQualityCheck"", orderQualityCheckMm);
- }
-
- /// <summary>
- /// Deprecated Method for adding a new object to the OrderLine EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead.
- /// </summary>
- public void AddToOrderLine(OrderLineMm orderLineMm)
- {
- base.AddObject(""OrderLine"", orderLineMm);
- }
-
- /// <summary>
- /// Deprecated Method for adding a new object to the Product EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead.
- /// </summary>
- public void AddToProduct(ProductMm productMm)
- {
- base.AddObject(""Product"", productMm);
- }
-
- /// <summary>
- /// Deprecated Method for adding a new object to the ProductDetail EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead.
- /// </summary>
- public void AddToProductDetail(ProductDetailMm productDetailMm)
- {
- base.AddObject(""ProductDetail"", productDetailMm);
- }
-
- /// <summary>
- /// Deprecated Method for adding a new object to the ProductReview EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead.
- /// </summary>
- public void AddToProductReview(ProductReviewMm productReviewMm)
- {
- base.AddObject(""ProductReview"", productReviewMm);
- }
-
- /// <summary>
- /// Deprecated Method for adding a new object to the ProductPhoto EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead.
- /// </summary>
- public void AddToProductPhoto(ProductPhotoMm productPhotoMm)
- {
- base.AddObject(""ProductPhoto"", productPhotoMm);
- }
-
- /// <summary>
- /// Deprecated Method for adding a new object to the ProductWebFeature EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead.
- /// </summary>
- public void AddToProductWebFeature(ProductWebFeatureMm productWebFeatureMm)
- {
- base.AddObject(""ProductWebFeature"", productWebFeatureMm);
- }
-
- /// <summary>
- /// Deprecated Method for adding a new object to the Supplier EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead.
- /// </summary>
- public void AddToSupplier(SupplierMm supplierMm)
- {
- base.AddObject(""Supplier"", supplierMm);
- }
-
- /// <summary>
- /// Deprecated Method for adding a new object to the SupplierLogo EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead.
- /// </summary>
- public void AddToSupplierLogo(SupplierLogoMm supplierLogoMm)
- {
- base.AddObject(""SupplierLogo"", supplierLogoMm);
- }
-
- /// <summary>
- /// Deprecated Method for adding a new object to the SupplierInfo EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead.
- /// </summary>
- public void AddToSupplierInfo(SupplierInfoMm supplierInfoMm)
- {
- base.AddObject(""SupplierInfo"", supplierInfoMm);
- }
-
- /// <summary>
- /// Deprecated Method for adding a new object to the CustomerInfo EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead.
- /// </summary>
- public void AddToCustomerInfo(CustomerInfoMm customerInfoMm)
- {
- base.AddObject(""CustomerInfo"", customerInfoMm);
- }
-
- /// <summary>
- /// Deprecated Method for adding a new object to the Computer EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead.
- /// </summary>
- public void AddToComputer(ComputerMm computerMm)
- {
- base.AddObject(""Computer"", computerMm);
- }
-
- /// <summary>
- /// Deprecated Method for adding a new object to the ComputerDetail EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead.
- /// </summary>
- public void AddToComputerDetail(ComputerDetailMm computerDetailMm)
- {
- base.AddObject(""ComputerDetail"", computerDetailMm);
- }
-
- /// <summary>
- /// Deprecated Method for adding a new object to the Driver EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead.
- /// </summary>
- public void AddToDriver(DriverMm driverMm)
- {
- base.AddObject(""Driver"", driverMm);
- }
-
- /// <summary>
- /// Deprecated Method for adding a new object to the License EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead.
- /// </summary>
- public void AddToLicense(LicenseMm licenseMm)
- {
- base.AddObject(""License"", licenseMm);
- }
- #endregion
- #region Function Imports
-
- /// <summary>
- /// No Metadata Documentation available.
- /// </summary>
- /// <param name=""modifiedDate"">No Metadata Documentation available.</param>
- private ObjectResult<AuditInfoMm> FunctionImport1(ObjectParameter modifiedDate)
- {
- return base.ExecuteFunction<AuditInfoMm>(""FunctionImport1"", modifiedDate);
- }
-
- /// <summary>
- /// No Metadata Documentation available.
- /// </summary>
- internal ObjectResult<CustomerMm> FunctionImport2()
- {
- return base.ExecuteFunction<CustomerMm>(""FunctionImport2"");
- }
- /// <summary>
- /// No Metadata Documentation available.
- /// </summary>
- /// <param name=""mergeOption""></param>
- internal ObjectResult<CustomerMm> FunctionImport2(MergeOption mergeOption)
- {
- return base.ExecuteFunction<CustomerMm>(""FunctionImport2"", mergeOption);
- }
-
- /// <summary>
- /// No Metadata Documentation available.
- /// </summary>
- /// <param name=""binary"">No Metadata Documentation available.</param>
- /// <param name=""bool"">No Metadata Documentation available.</param>
- /// <param name=""dateTime"">No Metadata Documentation available.</param>
- /// <param name=""decimal"">No Metadata Documentation available.</param>
- /// <param name=""float"">No Metadata Documentation available.</param>
- /// <param name=""guid"">No Metadata Documentation available.</param>
- /// <param name=""int"">No Metadata Documentation available.</param>
- /// <param name=""string"">No Metadata Documentation available.</param>
- public int ParameterTest(global::System.Byte[] binary, Nullable<global::System.Boolean> @bool, Nullable<global::System.DateTime> dateTime, Nullable<global::System.Decimal> @decimal, Nullable<global::System.Double> @float, Nullable<global::System.Guid> g…
Large files files are truncated, but you can click here to view the full file