This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| One or more validation errors were detected during model generation: | |
| Customer_User_Source: : Multiplicity is not valid in Role 'Customer_User_Source' in relationship 'Customer_User'. Because the Dependent Role refers to the key properties, the upper bound of the multiplicity of the Dependent Role must be '1'. | |
| Customer_User_Target_Customer_User_Source: : The types of all properties in the Dependent Role of a referential constraint must be the same as the corresponding property types in the Principal Role. The type of property 'Id' on entity 'Customer' does not match the type of property 'Id' on entity 'IdentityUser' in the referential constraint 'Customer_User'. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using System.Data.SQLite; | |
| namespace StringInterpolationSQL | |
| { | |
| class Program | |
| { | |
| private static SQLiteConnection connection; | |
| static void Main(string[] args) | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ParseClaimIdentifiers(@ref, claim) | |
| .Match(ReferenceQualifier.SpecialPaymentReferenceNumber, | |
| r => claim.ServiceAuthExceptionCode = ServiceAuthExceptionCodeConverter.FromAnsi(r).Adapt()) | |
| .Match(ReferenceQualifier.OriginalReferenceNumber, | |
| r => claim.OriginalPayerClaimControlNumber = r) | |
| .Match(ReferenceQualifier.ReferralNumber, | |
| r => claim.ReferralNumber = r) | |
| .Match(ReferenceQualifier.PriorAuthorizationNumber, | |
| r => claim.PriorAuthorization = r) | |
| .Match(ReferenceQualifier.RepricedClaimReferenceNumber, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class XMPPXmlWriter : XmlTextWriter | |
| { | |
| Action<bool> WriteEndStartTag; | |
| public XMPPXmlWriter(Stream w, Encoding encoding) | |
| : base(w, encoding) | |
| { | |
| Type baseClass = typeof(XmlTextWriter); | |
| MethodInfo WEST = baseClass.GetMethod("WriteEndStartTag", BindingFlags.Instance | BindingFlags.NonPublic); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| -- var something = db.Product.Where(x => x.Name.StartsWith("wtf")).Select(x => new { some = x.ProductID }).ToList(); | |
| SELECT | |
| [t1].[ProductID] | |
| FROM | |
| [Products] [t1] | |
| WHERE | |
| [t1].[ProductName] LIKE 'wtf%' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using LinqToDB; | |
| using LinqToDB.Data; | |
| using LinqToDB.DataProvider.SQLite; | |
| using LinqToDB.Mapping; | |
| namespace ConsoleApplication1 | |
| { | |
| class Program | |
| { | |
| static void Main(string[] args) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using System.Configuration; | |
| using System.Linq; | |
| namespace Some.Namespace | |
| { | |
| public static class ConfigHelper | |
| { | |
| private static Configuration conf = ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.None); |
NewerOlder