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.Collections.Generic; | |
using System.Linq.Expressions; | |
using System.Reflection; | |
using Xunit; | |
namespace ClassLibrary1 | |
{ | |
public class CollectingPropertiesTest | |
{ |
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
type Exception report | |
message | |
description The server encountered an internal error () that prevented it from fulfilling this request. | |
exception | |
org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.springframework.dao.DataIntegrityViolationException: could not execute statement; SQL [n/a]; constraint [null]; nested exception is org.hibernate.exception.ConstraintViolationException: could not execute statement | |
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:894) |
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
public class SerializableMultidimensionalArray : IXmlSerializable | |
{ | |
private readonly int[,] array = new int[3, 2]; | |
public int this[int i, int j] | |
{ | |
get | |
{ | |
return this.array[i, j]; | |
} |
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
public class QueryingFindingEntities | |
{ | |
[Fact] | |
public void FindingEntityByPrimaryKey() | |
{ | |
using (var context = new BlogContext()) | |
{ | |
int execuedCount = 0; | |
context.RegisterCallbackStateChanged(ConnectionState.Open, () => execuedCount++); |
NewerOlder