Skip to content

Commit

Permalink
[CS0612] QueryEventsSql Warning Disable (#6702)
Browse files Browse the repository at this point in the history
* [CS0612] `QueryEventsSql` Warning Disable

* Removed `QueryEventsSql`

* fixed
  • Loading branch information
eaba authored May 4, 2023
1 parent b7ec446 commit 502370e
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -501,11 +501,6 @@ SELECT MAX(e.{Configuration.OrderingColumnName}) as Ordering
@Tag,
@SerializerId
)";

QueryEventsSql = $@"
SELECT {allEventColumnNames}
FROM {Configuration.FullJournalTableName} e
WHERE ";
}

/// <summary>
Expand Down Expand Up @@ -557,12 +552,7 @@ SELECT MAX(e.{Configuration.OrderingColumnName}) as Ordering
/// </summary>
protected abstract string CreateMetaTableSql { get; }

/// <summary>
/// TBD
/// </summary>
[Obsolete]
protected string QueryEventsSql { get; }


/// <summary>
/// TBD
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,6 @@ namespace Akka.Persistence.Sql.Common.Journal
protected virtual string HighestSequenceNrSql { get; }
protected virtual string HighestTagOrderingSql { get; }
protected virtual string InsertEventSql { get; }
[System.ObsoleteAttribute()]
protected string QueryEventsSql { get; }
public System.Data.IsolationLevel ReadIsolationLevel { get; }
protected virtual string UpdateSequenceNrSql { get; }
public System.Data.IsolationLevel WriteIsolationLevel { get; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,6 @@ namespace Akka.Persistence.Sql.Common.Journal
protected virtual string HighestSequenceNrSql { get; }
protected virtual string HighestTagOrderingSql { get; }
protected virtual string InsertEventSql { get; }
[System.ObsoleteAttribute()]
protected string QueryEventsSql { get; }
public System.Data.IsolationLevel ReadIsolationLevel { get; }
protected virtual string UpdateSequenceNrSql { get; }
public System.Data.IsolationLevel WriteIsolationLevel { get; }
Expand Down

0 comments on commit 502370e

Please sign in to comment.