Skip to content

Commit 148adf4

Browse files
committed
addressed unused warnings
1 parent 5da3bc4 commit 148adf4

File tree

2 files changed

+30
-2
lines changed

2 files changed

+30
-2
lines changed

SubSonic.Core.DataAccessLayer/SubSonic.Core.DataAccessLayer.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
99
<IncludeSymbols>true</IncludeSymbols>
1010
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
11-
<PackageTags>DAL;SqlServer;C#;.NetFramework;.NetCore;</PackageTags>
11+
<PackageTags>DAL;Database;C#;.NetFramework;.NetCore;</PackageTags>
1212
<Version>4.1.1</Version>
1313
<PackageId>SubSonic.Core.DAL</PackageId>
1414
<Company>SubSonic-Core</Company>

SubSonic.Core.DataAccessLayer/src/Linq/Extensions/SubSonicQueryable/QueryableExtensions.cs

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,9 +210,37 @@ public static IQueryable<TSource> WhereNotExists<TSource>(this IQueryable<TSourc
210210

211211
throw Error.NotSupported($"{nameof(WhereNotExists)} not supported on {source}."); ;
212212
}
213-
213+
/// <summary>
214+
///
215+
/// </summary>
216+
/// <typeparam name="TSource"></typeparam>
217+
/// <param name="source"></param>
218+
/// <param name="dbTable"></param>
219+
/// <param name="keys"></param>
220+
/// <param name="keyData"></param>
221+
/// <returns></returns>
214222
internal static IQueryable<TSource> WhereByKeyData<TSource>(this IQueryable<TSource> source, DbTableExpression dbTable, IEnumerable<string> keys, IEnumerable<object> keyData)
215223
{
224+
if (source is null)
225+
{
226+
throw new ArgumentNullException(nameof(source));
227+
}
228+
229+
if (dbTable is null)
230+
{
231+
throw new ArgumentNullException(nameof(dbTable));
232+
}
233+
234+
if (keys is null)
235+
{
236+
throw new ArgumentNullException(nameof(keys));
237+
}
238+
239+
if (keyData is null)
240+
{
241+
throw new ArgumentNullException(nameof(keyData));
242+
}
243+
216244
throw Error.NotImplemented();
217245
}
218246

0 commit comments

Comments
 (0)