Skip to content

Commit

Permalink
Merge branch 'master' into dotnet3
Browse files Browse the repository at this point in the history
# Conflicts:
#	Signum.Engine/Basics/ExceptionLogic.cs
#	Signum.Engine/Connection/Connector.cs
#	Signum.Engine/Connection/FieldReader.cs
#	Signum.Engine/EntityCache.cs
#	Signum.Engine/Signum.Engine.csproj
#	Signum.Entities/DynamicQuery/ResultTable.cs
#	Signum.Entities/EnumEntity.cs
#	Signum.Entities/Signum.Entities.csproj
#	Signum.React/Filters/SignumFilters.cs
#	Signum.Utilities/Extensions/EnumExtensions.cs
  • Loading branch information
olmobrutall committed Sep 25, 2019
2 parents a4abea6 + 3c0bf87 commit 59050df
Show file tree
Hide file tree
Showing 78 changed files with 1,435 additions and 1,065 deletions.
2 changes: 1 addition & 1 deletion Signum.Engine/Administrator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ from c in t.Columns()
select new DiffColumn
{
Name = c.name,
SqlDbType = SchemaSynchronizer.ToSqlDbType(c.Type().name),
SqlDbType = SchemaSynchronizer.ToSqlDbType(c.Type()!.name),
UserTypeName = null,
Identity = c.is_identity,
Nullable = c.is_nullable,
Expand Down
4 changes: 1 addition & 3 deletions Signum.Engine/Basics/ExceptionLogic.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ namespace Signum.Engine.Basics
{
public static class ExceptionLogic
{
public static Func<string>? GetCurrentVersion;

public static void Start(SchemaBuilder sb)
{
if (sb.NotDefined(MethodInfo.GetCurrentMethod()))
Expand Down Expand Up @@ -117,7 +115,7 @@ static ExceptionEntity SaveForceNew(this ExceptionEntity entity)

static readonly Variable<string?> overridenEnvironment = Statics.ThreadVariable<string?>("exceptionEnviroment");

public static IDisposable OverrideEnviroment(string newEnviroment)
public static IDisposable OverrideEnviroment(string? newEnviroment)
{
string? oldEnviroment = overridenEnvironment.Value;
overridenEnvironment.Value = newEnviroment;
Expand Down
4 changes: 2 additions & 2 deletions Signum.Engine/CodeGeneration/EntityCodeGenerator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,7 @@ protected virtual string GetTicksColumnAttribute(DiffTable table)

protected virtual string? GetPrimaryKeyAttribute(DiffTable table)
{
DiffColumn primaryKey = GetPrimaryKeyColumn(table);
DiffColumn? primaryKey = GetPrimaryKeyColumn(table);

if (primaryKey == null)
return null;
Expand Down Expand Up @@ -529,7 +529,7 @@ protected virtual string GetTicksColumnAttribute(DiffTable table)
return null;
}

protected virtual DiffColumn GetPrimaryKeyColumn(DiffTable table)
protected virtual DiffColumn? GetPrimaryKeyColumn(DiffTable table)
{
return table.Columns.Values.SingleOrDefaultEx(a => a.PrimaryKey);
}
Expand Down
Loading

0 comments on commit 59050df

Please sign in to comment.