Memory leaks fixed across the code related to cached reader.
Copyright date bump
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -3,7 +3,7 @@
|
|||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetFramework>net8.0</TargetFramework>
|
<TargetFramework>net8.0</TargetFramework>
|
||||||
<Description>Dynamic Object-Relational Mapping tests library.</Description>
|
<Description>Dynamic Object-Relational Mapping tests library.</Description>
|
||||||
<Copyright>Copyright © RUSSEK Software 2012-2024</Copyright>
|
<Copyright>Copyright © RUSSEK Software 2012-2026</Copyright>
|
||||||
<Company>RUSSEK Software</Company>
|
<Company>RUSSEK Software</Company>
|
||||||
<Authors>Grzegorz Russek</Authors>
|
<Authors>Grzegorz Russek</Authors>
|
||||||
<VersionPrefix>1.8</VersionPrefix>
|
<VersionPrefix>1.8</VersionPrefix>
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* DynamORM - Dynamic Object-Relational Mapping library.
|
* DynamORM - Dynamic Object-Relational Mapping library.
|
||||||
* Copyright (c) 2012-2015, Grzegorz Russek (grzegorz.russek@gmail.com)
|
* Copyright (c) 2012-2026, Grzegorz Russek (grzegorz.russek@gmail.com)
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* DynamORM - Dynamic Object-Relational Mapping library.
|
* DynamORM - Dynamic Object-Relational Mapping library.
|
||||||
* Copyright (c) 2012-2015, Grzegorz Russek (grzegorz.russek@gmail.com)
|
* Copyright (c) 2012-2026, Grzegorz Russek (grzegorz.russek@gmail.com)
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* DynamORM - Dynamic Object-Relational Mapping library.
|
* DynamORM - Dynamic Object-Relational Mapping library.
|
||||||
* Copyright (c) 2012-2015, Grzegorz Russek (grzegorz.russek@gmail.com)
|
* Copyright (c) 2012-2026, Grzegorz Russek (grzegorz.russek@gmail.com)
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* DynamORM - Dynamic Object-Relational Mapping library.
|
* DynamORM - Dynamic Object-Relational Mapping library.
|
||||||
* Copyright (c) 2012-2015, Grzegorz Russek (grzegorz.russek@gmail.com)
|
* Copyright (c) 2012-2026, Grzegorz Russek (grzegorz.russek@gmail.com)
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* DynamORM - Dynamic Object-Relational Mapping library.
|
* DynamORM - Dynamic Object-Relational Mapping library.
|
||||||
* Copyright (c) 2012-2015, Grzegorz Russek (grzegorz.russek@gmail.com)
|
* Copyright (c) 2012-2026, Grzegorz Russek (grzegorz.russek@gmail.com)
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* DynamORM - Dynamic Object-Relational Mapping library.
|
* DynamORM - Dynamic Object-Relational Mapping library.
|
||||||
* Copyright (c) 2012-2015, Grzegorz Russek (grzegorz.russek@gmail.com)
|
* Copyright (c) 2012-2026, Grzegorz Russek (grzegorz.russek@gmail.com)
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* DynamORM - Dynamic Object-Relational Mapping library.
|
* DynamORM - Dynamic Object-Relational Mapping library.
|
||||||
* Copyright (c) 2012-2015, Grzegorz Russek (grzegorz.russek@gmail.com)
|
* Copyright (c) 2012-2026, Grzegorz Russek (grzegorz.russek@gmail.com)
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* DynamORM - Dynamic Object-Relational Mapping library.
|
* DynamORM - Dynamic Object-Relational Mapping library.
|
||||||
* Copyright (c) 2012-2015, Grzegorz Russek (grzegorz.russek@gmail.com)
|
* Copyright (c) 2012-2026, Grzegorz Russek (grzegorz.russek@gmail.com)
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* DynamORM - Dynamic Object-Relational Mapping library.
|
* DynamORM - Dynamic Object-Relational Mapping library.
|
||||||
* Copyright (c) 2012-2015, Grzegorz Russek (grzegorz.russek@gmail.com)
|
* Copyright (c) 2012-2026, Grzegorz Russek (grzegorz.russek@gmail.com)
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* DynamORM - Dynamic Object-Relational Mapping library.
|
* DynamORM - Dynamic Object-Relational Mapping library.
|
||||||
* Copyright (c) 2012-2015, Grzegorz Russek (grzegorz.russek@gmail.com)
|
* Copyright (c) 2012-2026, Grzegorz Russek (grzegorz.russek@gmail.com)
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* DynamORM - Dynamic Object-Relational Mapping library.
|
* DynamORM - Dynamic Object-Relational Mapping library.
|
||||||
* Copyright (c) 2012-2015, Grzegorz Russek (grzegorz.russek@gmail.com)
|
* Copyright (c) 2012-2026, Grzegorz Russek (grzegorz.russek@gmail.com)
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* DynamORM - Dynamic Object-Relational Mapping library.
|
* DynamORM - Dynamic Object-Relational Mapping library.
|
||||||
* Copyright (c) 2012-2015, Grzegorz Russek (grzegorz.russek@gmail.com)
|
* Copyright (c) 2012-2026, Grzegorz Russek (grzegorz.russek@gmail.com)
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* DynamORM - Dynamic Object-Relational Mapping library.
|
* DynamORM - Dynamic Object-Relational Mapping library.
|
||||||
* Copyright (c) 2012-2015, Grzegorz Russek (grzegorz.russek@gmail.com)
|
* Copyright (c) 2012-2026, Grzegorz Russek (grzegorz.russek@gmail.com)
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* DynamORM - Dynamic Object-Relational Mapping library.
|
* DynamORM - Dynamic Object-Relational Mapping library.
|
||||||
* Copyright (c) 2012-2015, Grzegorz Russek (grzegorz.russek@gmail.com)
|
* Copyright (c) 2012-2026, Grzegorz Russek (grzegorz.russek@gmail.com)
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* DynamORM - Dynamic Object-Relational Mapping library.
|
* DynamORM - Dynamic Object-Relational Mapping library.
|
||||||
* Copyright (c) 2012-2015, Grzegorz Russek (grzegorz.russek@gmail.com)
|
* Copyright (c) 2012-2026, Grzegorz Russek (grzegorz.russek@gmail.com)
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* DynamORM - Dynamic Object-Relational Mapping library.
|
* DynamORM - Dynamic Object-Relational Mapping library.
|
||||||
* Copyright (c) 2012-2015, Grzegorz Russek (grzegorz.russek@gmail.com)
|
* Copyright (c) 2012-2026, Grzegorz Russek (grzegorz.russek@gmail.com)
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* DynamORM - Dynamic Object-Relational Mapping library.
|
* DynamORM - Dynamic Object-Relational Mapping library.
|
||||||
* Copyright (c) 2012-2015, Grzegorz Russek (grzegorz.russek@gmail.com)
|
* Copyright (c) 2012-2026, Grzegorz Russek (grzegorz.russek@gmail.com)
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* DynamORM - Dynamic Object-Relational Mapping library.
|
* DynamORM - Dynamic Object-Relational Mapping library.
|
||||||
* Copyright (c) 2012-2015, Grzegorz Russek (grzegorz.russek@gmail.com)
|
* Copyright (c) 2012-2026, Grzegorz Russek (grzegorz.russek@gmail.com)
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* DynamORM - Dynamic Object-Relational Mapping library.
|
* DynamORM - Dynamic Object-Relational Mapping library.
|
||||||
* Copyright (c) 2012-2015, Grzegorz Russek (grzegorz.russek@gmail.com)
|
* Copyright (c) 2012-2026, Grzegorz Russek (grzegorz.russek@gmail.com)
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Some of methods in this code file is based on Kerosene ORM solution
|
* Some of methods in this code file is based on Kerosene ORM solution
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* DynamORM - Dynamic Object-Relational Mapping library.
|
* DynamORM - Dynamic Object-Relational Mapping library.
|
||||||
* Copyright (c) 2012-2015, Grzegorz Russek (grzegorz.russek@gmail.com)
|
* Copyright (c) 2012-2026, Grzegorz Russek (grzegorz.russek@gmail.com)
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Some of methods in this code file is based on Kerosene ORM solution
|
* Some of methods in this code file is based on Kerosene ORM solution
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* DynamORM - Dynamic Object-Relational Mapping library.
|
* DynamORM - Dynamic Object-Relational Mapping library.
|
||||||
* Copyright (c) 2012-2015, Grzegorz Russek (grzegorz.russek@gmail.com)
|
* Copyright (c) 2012-2026, Grzegorz Russek (grzegorz.russek@gmail.com)
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Some of methods in this code file is based on Kerosene ORM solution
|
* Some of methods in this code file is based on Kerosene ORM solution
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* DynamORM - Dynamic Object-Relational Mapping library.
|
* DynamORM - Dynamic Object-Relational Mapping library.
|
||||||
* Copyright (c) 2012-2015, Grzegorz Russek (grzegorz.russek@gmail.com)
|
* Copyright (c) 2012-2026, Grzegorz Russek (grzegorz.russek@gmail.com)
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* DynamORM - Dynamic Object-Relational Mapping library.
|
* DynamORM - Dynamic Object-Relational Mapping library.
|
||||||
* Copyright (c) 2012-2015, Grzegorz Russek (grzegorz.russek@gmail.com)
|
* Copyright (c) 2012-2026, Grzegorz Russek (grzegorz.russek@gmail.com)
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* DynamORM - Dynamic Object-Relational Mapping library.
|
* DynamORM - Dynamic Object-Relational Mapping library.
|
||||||
* Copyright (c) 2012-2015, Grzegorz Russek (grzegorz.russek@gmail.com)
|
* Copyright (c) 2012-2026, Grzegorz Russek (grzegorz.russek@gmail.com)
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* DynamORM - Dynamic Object-Relational Mapping library.
|
* DynamORM - Dynamic Object-Relational Mapping library.
|
||||||
* Copyright (c) 2012-2015, Grzegorz Russek (grzegorz.russek@gmail.com)
|
* Copyright (c) 2012-2026, Grzegorz Russek (grzegorz.russek@gmail.com)
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* DynamORM - Dynamic Object-Relational Mapping library.
|
* DynamORM - Dynamic Object-Relational Mapping library.
|
||||||
* Copyright (c) 2012-2015, Grzegorz Russek (grzegorz.russek@gmail.com)
|
* Copyright (c) 2012-2026, Grzegorz Russek (grzegorz.russek@gmail.com)
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* DynamORM - Dynamic Object-Relational Mapping library.
|
* DynamORM - Dynamic Object-Relational Mapping library.
|
||||||
* Copyright (c) 2012-2015, Grzegorz Russek (grzegorz.russek@gmail.com)
|
* Copyright (c) 2012-2026, Grzegorz Russek (grzegorz.russek@gmail.com)
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* DynamORM - Dynamic Object-Relational Mapping library.
|
* DynamORM - Dynamic Object-Relational Mapping library.
|
||||||
* Copyright (c) 2012-2015, Grzegorz Russek (grzegorz.russek@gmail.com)
|
* Copyright (c) 2012-2026, Grzegorz Russek (grzegorz.russek@gmail.com)
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* DynamORM - Dynamic Object-Relational Mapping library.
|
* DynamORM - Dynamic Object-Relational Mapping library.
|
||||||
* Copyright (c) 2012-2015, Grzegorz Russek (grzegorz.russek@gmail.com)
|
* Copyright (c) 2012-2026, Grzegorz Russek (grzegorz.russek@gmail.com)
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Some of methods in this code file is based on Kerosene ORM solution
|
* Some of methods in this code file is based on Kerosene ORM solution
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* DynamORM - Dynamic Object-Relational Mapping library.
|
* DynamORM - Dynamic Object-Relational Mapping library.
|
||||||
* Copyright (c) 2012-2015, Grzegorz Russek (grzegorz.russek@gmail.com)
|
* Copyright (c) 2012-2026, Grzegorz Russek (grzegorz.russek@gmail.com)
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Some of methods in this code file is based on Kerosene ORM solution
|
* Some of methods in this code file is based on Kerosene ORM solution
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* DynamORM - Dynamic Object-Relational Mapping library.
|
* DynamORM - Dynamic Object-Relational Mapping library.
|
||||||
* Copyright (c) 2012-2015, Grzegorz Russek (grzegorz.russek@gmail.com)
|
* Copyright (c) 2012-2026, Grzegorz Russek (grzegorz.russek@gmail.com)
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* DynamORM - Dynamic Object-Relational Mapping library.
|
* DynamORM - Dynamic Object-Relational Mapping library.
|
||||||
* Copyright (c) 2012-2015, Grzegorz Russek (grzegorz.russek@gmail.com)
|
* Copyright (c) 2012-2026, Grzegorz Russek (grzegorz.russek@gmail.com)
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Some of methods in this code file is based on Kerosene ORM solution
|
* Some of methods in this code file is based on Kerosene ORM solution
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* DynamORM - Dynamic Object-Relational Mapping library.
|
* DynamORM - Dynamic Object-Relational Mapping library.
|
||||||
* Copyright (c) 2012-2015, Grzegorz Russek (grzegorz.russek@gmail.com)
|
* Copyright (c) 2012-2026, Grzegorz Russek (grzegorz.russek@gmail.com)
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Some of methods in this code file is based on Kerosene ORM solution
|
* Some of methods in this code file is based on Kerosene ORM solution
|
||||||
@@ -139,36 +139,35 @@ namespace DynamORM.Builders.Implementation
|
|||||||
/// <returns>Enumerator of objects expanded from query.</returns>
|
/// <returns>Enumerator of objects expanded from query.</returns>
|
||||||
public virtual IEnumerable<dynamic> Execute()
|
public virtual IEnumerable<dynamic> Execute()
|
||||||
{
|
{
|
||||||
DynamicCachedReader cache = null;
|
|
||||||
using (IDbConnection con = Database.Open())
|
using (IDbConnection con = Database.Open())
|
||||||
using (IDbCommand cmd = con.CreateCommand())
|
using (IDbCommand cmd = con.CreateCommand())
|
||||||
{
|
{
|
||||||
using (IDataReader rdr = cmd
|
using (IDataReader rdr = cmd
|
||||||
.SetCommand(this)
|
.SetCommand(this)
|
||||||
.ExecuteReader())
|
.ExecuteReader())
|
||||||
cache = new DynamicCachedReader(rdr);
|
using (IDataReader cache = new DynamicCachedReader(rdr))
|
||||||
|
while (cache.Read())
|
||||||
while (cache.Read())
|
|
||||||
{
|
|
||||||
dynamic val = null;
|
|
||||||
|
|
||||||
// Work around to avoid yield being in try...catchblock:
|
|
||||||
// http://stackoverflow.com/questions/346365/why-cant-yield-return-appear-inside-a-try-block-with-a-catch
|
|
||||||
try
|
|
||||||
{
|
{
|
||||||
val = cache.RowToDynamic();
|
dynamic val = null;
|
||||||
}
|
|
||||||
catch (ArgumentException argex)
|
|
||||||
{
|
|
||||||
StringBuilder sb = new StringBuilder();
|
|
||||||
cmd.Dump(sb);
|
|
||||||
|
|
||||||
throw new ArgumentException(string.Format("{0}{1}{2}", argex.Message, Environment.NewLine, sb),
|
// Work around to avoid yield being in try...catchblock:
|
||||||
argex.InnerException.NullOr(a => a, argex));
|
// http://stackoverflow.com/questions/346365/why-cant-yield-return-appear-inside-a-try-block-with-a-catch
|
||||||
}
|
try
|
||||||
|
{
|
||||||
|
val = cache.RowToDynamic();
|
||||||
|
}
|
||||||
|
catch (ArgumentException argex)
|
||||||
|
{
|
||||||
|
StringBuilder sb = new StringBuilder();
|
||||||
|
cmd.Dump(sb);
|
||||||
|
|
||||||
yield return val;
|
throw new ArgumentException(
|
||||||
}
|
string.Format("{0}{1}{2}", argex.Message, Environment.NewLine, sb),
|
||||||
|
argex.InnerException.NullOr(a => a, argex));
|
||||||
|
}
|
||||||
|
|
||||||
|
yield return val;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -177,7 +176,6 @@ namespace DynamORM.Builders.Implementation
|
|||||||
/// <returns>Enumerator of objects expanded from query.</returns>
|
/// <returns>Enumerator of objects expanded from query.</returns>
|
||||||
public virtual IEnumerable<T> Execute<T>() where T : class
|
public virtual IEnumerable<T> Execute<T>() where T : class
|
||||||
{
|
{
|
||||||
DynamicCachedReader cache = null;
|
|
||||||
DynamicTypeMap mapper = DynamicMapperCache.GetMapper<T>();
|
DynamicTypeMap mapper = DynamicMapperCache.GetMapper<T>();
|
||||||
|
|
||||||
if (mapper == null)
|
if (mapper == null)
|
||||||
@@ -187,31 +185,31 @@ namespace DynamORM.Builders.Implementation
|
|||||||
using (IDbCommand cmd = con.CreateCommand())
|
using (IDbCommand cmd = con.CreateCommand())
|
||||||
{
|
{
|
||||||
using (IDataReader rdr = cmd
|
using (IDataReader rdr = cmd
|
||||||
.SetCommand(this)
|
.SetCommand(this)
|
||||||
.ExecuteReader())
|
.ExecuteReader())
|
||||||
cache = new DynamicCachedReader(rdr);
|
using (IDataReader cache = new DynamicCachedReader(rdr))
|
||||||
|
while (cache.Read())
|
||||||
while (cache.Read())
|
|
||||||
{
|
|
||||||
dynamic val = null;
|
|
||||||
|
|
||||||
// Work around to avoid yield being in try...catchblock:
|
|
||||||
// http://stackoverflow.com/questions/346365/why-cant-yield-return-appear-inside-a-try-block-with-a-catch
|
|
||||||
try
|
|
||||||
{
|
{
|
||||||
val = cache.RowToDynamic();
|
dynamic val = null;
|
||||||
}
|
|
||||||
catch (ArgumentException argex)
|
|
||||||
{
|
|
||||||
StringBuilder sb = new StringBuilder();
|
|
||||||
cmd.Dump(sb);
|
|
||||||
|
|
||||||
throw new ArgumentException(string.Format("{0}{1}{2}", argex.Message, Environment.NewLine, sb),
|
// Work around to avoid yield being in try...catchblock:
|
||||||
argex.InnerException.NullOr(a => a, argex));
|
// http://stackoverflow.com/questions/346365/why-cant-yield-return-appear-inside-a-try-block-with-a-catch
|
||||||
}
|
try
|
||||||
|
{
|
||||||
|
val = cache.RowToDynamic();
|
||||||
|
}
|
||||||
|
catch (ArgumentException argex)
|
||||||
|
{
|
||||||
|
StringBuilder sb = new StringBuilder();
|
||||||
|
cmd.Dump(sb);
|
||||||
|
|
||||||
yield return mapper.Create(val) as T;
|
throw new ArgumentException(
|
||||||
}
|
string.Format("{0}{1}{2}", argex.Message, Environment.NewLine, sb),
|
||||||
|
argex.InnerException.NullOr(a => a, argex));
|
||||||
|
}
|
||||||
|
|
||||||
|
yield return mapper.Create(val) as T;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -232,16 +230,13 @@ namespace DynamORM.Builders.Implementation
|
|||||||
/// <param name="reader">Action containing reader.</param>
|
/// <param name="reader">Action containing reader.</param>
|
||||||
public virtual void ExecuteCachedDataReader(Action<IDataReader> reader)
|
public virtual void ExecuteCachedDataReader(Action<IDataReader> reader)
|
||||||
{
|
{
|
||||||
DynamicCachedReader cache = null;
|
|
||||||
|
|
||||||
using (IDbConnection con = Database.Open())
|
using (IDbConnection con = Database.Open())
|
||||||
using (IDbCommand cmd = con.CreateCommand())
|
using (IDbCommand cmd = con.CreateCommand())
|
||||||
using (IDataReader rdr = cmd
|
using (IDataReader rdr = cmd
|
||||||
.SetCommand(this)
|
.SetCommand(this)
|
||||||
.ExecuteReader())
|
.ExecuteReader())
|
||||||
cache = new DynamicCachedReader(rdr);
|
using (IDataReader cache = new DynamicCachedReader(rdr))
|
||||||
|
reader(cache);
|
||||||
reader(cache);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>Returns a single result.</summary>
|
/// <summary>Returns a single result.</summary>
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* DynamORM - Dynamic Object-Relational Mapping library.
|
* DynamORM - Dynamic Object-Relational Mapping library.
|
||||||
* Copyright (c) 2012-2015, Grzegorz Russek (grzegorz.russek@gmail.com)
|
* Copyright (c) 2012-2026, Grzegorz Russek (grzegorz.russek@gmail.com)
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Some of methods in this code file is based on Kerosene ORM solution
|
* Some of methods in this code file is based on Kerosene ORM solution
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetFrameworks>netstandard2.0;net472;net6.0;net8.0;net10.0</TargetFrameworks>
|
<TargetFrameworks>netstandard2.0;net472;net6.0;net8.0;net10.0</TargetFrameworks>
|
||||||
<Description>Dynamic Object-Relational Mapping library.</Description>
|
<Description>Dynamic Object-Relational Mapping library.</Description>
|
||||||
<Copyright>Copyright © RUSSEK Software 2012-2024</Copyright>
|
<Copyright>Copyright © RUSSEK Software 2012-2026</Copyright>
|
||||||
<Company>RUSSEK Software</Company>
|
<Company>RUSSEK Software</Company>
|
||||||
<Authors>Grzegorz Russek</Authors>
|
<Authors>Grzegorz Russek</Authors>
|
||||||
<VersionPrefix>1.9</VersionPrefix>
|
<VersionPrefix>1.9</VersionPrefix>
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* DynamORM - Dynamic Object-Relational Mapping library.
|
* DynamORM - Dynamic Object-Relational Mapping library.
|
||||||
* Copyright (c) 2012-2015, Grzegorz Russek (grzegorz.russek@gmail.com)
|
* Copyright (c) 2012-2026, Grzegorz Russek (grzegorz.russek@gmail.com)
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* DynamORM - Dynamic Object-Relational Mapping library.
|
* DynamORM - Dynamic Object-Relational Mapping library.
|
||||||
* Copyright (c) 2012-2015, Grzegorz Russek (grzegorz.russek@gmail.com)
|
* Copyright (c) 2012-2026, Grzegorz Russek (grzegorz.russek@gmail.com)
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* DynamORM - Dynamic Object-Relational Mapping library.
|
* DynamORM - Dynamic Object-Relational Mapping library.
|
||||||
* Copyright (c) 2012-2015, Grzegorz Russek (grzegorz.russek@gmail.com)
|
* Copyright (c) 2012-2026, Grzegorz Russek (grzegorz.russek@gmail.com)
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* DynamORM - Dynamic Object-Relational Mapping library.
|
* DynamORM - Dynamic Object-Relational Mapping library.
|
||||||
* Copyright (c) 2012-2015, Grzegorz Russek (grzegorz.russek@gmail.com)
|
* Copyright (c) 2012-2026, Grzegorz Russek (grzegorz.russek@gmail.com)
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
@@ -1327,7 +1327,6 @@ namespace DynamORM
|
|||||||
/// <returns>Enumerator of objects expanded from query.</returns>
|
/// <returns>Enumerator of objects expanded from query.</returns>
|
||||||
public virtual IEnumerable<dynamic> Query(string sql, params object[] args)
|
public virtual IEnumerable<dynamic> Query(string sql, params object[] args)
|
||||||
{
|
{
|
||||||
DynamicCachedReader cache = null;
|
|
||||||
using (IDbConnection con = Open())
|
using (IDbConnection con = Open())
|
||||||
using (IDbCommand cmd = con.CreateCommand())
|
using (IDbCommand cmd = con.CreateCommand())
|
||||||
{
|
{
|
||||||
@@ -1335,28 +1334,30 @@ namespace DynamORM
|
|||||||
.SetCommand(sql)
|
.SetCommand(sql)
|
||||||
.AddParameters(this, args)
|
.AddParameters(this, args)
|
||||||
.ExecuteReader())
|
.ExecuteReader())
|
||||||
cache = new DynamicCachedReader(rdr);
|
using (IDataReader cache = new DynamicCachedReader(rdr))
|
||||||
|
|
||||||
while (cache.Read())
|
|
||||||
{
|
{
|
||||||
dynamic val = null;
|
while (cache.Read())
|
||||||
|
|
||||||
// Work around to avoid yield being in try...catch block:
|
|
||||||
// http://stackoverflow.com/questions/346365/why-cant-yield-return-appear-inside-a-try-block-with-a-catch
|
|
||||||
try
|
|
||||||
{
|
{
|
||||||
val = cache.RowToDynamic();
|
dynamic val = null;
|
||||||
}
|
|
||||||
catch (ArgumentException argex)
|
|
||||||
{
|
|
||||||
StringBuilder sb = new StringBuilder();
|
|
||||||
cmd.Dump(sb);
|
|
||||||
|
|
||||||
throw new ArgumentException(string.Format("{0}{1}{2}", argex.Message, Environment.NewLine, sb),
|
// Work around to avoid yield being in try...catch block:
|
||||||
argex.InnerException.NullOr(a => a, argex));
|
// http://stackoverflow.com/questions/346365/why-cant-yield-return-appear-inside-a-try-block-with-a-catch
|
||||||
}
|
try
|
||||||
|
{
|
||||||
|
val = cache.RowToDynamic();
|
||||||
|
}
|
||||||
|
catch (ArgumentException argex)
|
||||||
|
{
|
||||||
|
StringBuilder sb = new StringBuilder();
|
||||||
|
cmd.Dump(sb);
|
||||||
|
|
||||||
yield return val;
|
throw new ArgumentException(
|
||||||
|
string.Format("{0}{1}{2}", argex.Message, Environment.NewLine, sb),
|
||||||
|
argex.InnerException.NullOr(a => a, argex));
|
||||||
|
}
|
||||||
|
|
||||||
|
yield return val;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1366,36 +1367,35 @@ namespace DynamORM
|
|||||||
/// <returns>Enumerator of objects expanded from query.</returns>
|
/// <returns>Enumerator of objects expanded from query.</returns>
|
||||||
public virtual IEnumerable<dynamic> Query(IDynamicQueryBuilder builder)
|
public virtual IEnumerable<dynamic> Query(IDynamicQueryBuilder builder)
|
||||||
{
|
{
|
||||||
DynamicCachedReader cache = null;
|
|
||||||
using (IDbConnection con = Open())
|
using (IDbConnection con = Open())
|
||||||
using (IDbCommand cmd = con.CreateCommand())
|
using (IDbCommand cmd = con.CreateCommand())
|
||||||
{
|
{
|
||||||
using (IDataReader rdr = cmd
|
using (IDataReader rdr = cmd
|
||||||
.SetCommand(builder)
|
.SetCommand(builder)
|
||||||
.ExecuteReader())
|
.ExecuteReader())
|
||||||
cache = new DynamicCachedReader(rdr);
|
using (var cache = new DynamicCachedReader(rdr))
|
||||||
|
while (cache.Read())
|
||||||
while (cache.Read())
|
|
||||||
{
|
|
||||||
dynamic val = null;
|
|
||||||
|
|
||||||
// Work around to avoid yield being in try...catch block:
|
|
||||||
// http://stackoverflow.com/questions/346365/why-cant-yield-return-appear-inside-a-try-block-with-a-catch
|
|
||||||
try
|
|
||||||
{
|
{
|
||||||
val = cache.RowToDynamic();
|
dynamic val = null;
|
||||||
}
|
|
||||||
catch (ArgumentException argex)
|
|
||||||
{
|
|
||||||
StringBuilder sb = new StringBuilder();
|
|
||||||
cmd.Dump(sb);
|
|
||||||
|
|
||||||
throw new ArgumentException(string.Format("{0}{1}{2}", argex.Message, Environment.NewLine, sb),
|
// Work around to avoid yield being in try...catch block:
|
||||||
argex.InnerException.NullOr(a => a, argex));
|
// http://stackoverflow.com/questions/346365/why-cant-yield-return-appear-inside-a-try-block-with-a-catch
|
||||||
}
|
try
|
||||||
|
{
|
||||||
|
val = cache.RowToDynamic();
|
||||||
|
}
|
||||||
|
catch (ArgumentException argex)
|
||||||
|
{
|
||||||
|
StringBuilder sb = new StringBuilder();
|
||||||
|
cmd.Dump(sb);
|
||||||
|
|
||||||
yield return val;
|
throw new ArgumentException(
|
||||||
}
|
string.Format("{0}{1}{2}", argex.Message, Environment.NewLine, sb),
|
||||||
|
argex.InnerException.NullOr(a => a, argex));
|
||||||
|
}
|
||||||
|
|
||||||
|
yield return val;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* DynamORM - Dynamic Object-Relational Mapping library.
|
* DynamORM - Dynamic Object-Relational Mapping library.
|
||||||
* Copyright (c) 2012-2015, Grzegorz Russek (grzegorz.russek@gmail.com)
|
* Copyright (c) 2012-2026, Grzegorz Russek (grzegorz.russek@gmail.com)
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* DynamORM - Dynamic Object-Relational Mapping library.
|
* DynamORM - Dynamic Object-Relational Mapping library.
|
||||||
* Copyright (c) 2012-2015, Grzegorz Russek (grzegorz.russek@gmail.com)
|
* Copyright (c) 2012-2026, Grzegorz Russek (grzegorz.russek@gmail.com)
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* DynamORM - Dynamic Object-Relational Mapping library.
|
* DynamORM - Dynamic Object-Relational Mapping library.
|
||||||
* Copyright (c) 2012-2015, Grzegorz Russek (grzegorz.russek@gmail.com)
|
* Copyright (c) 2012-2026, Grzegorz Russek (grzegorz.russek@gmail.com)
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* DynamORM - Dynamic Object-Relational Mapping library.
|
* DynamORM - Dynamic Object-Relational Mapping library.
|
||||||
* Copyright (c) 2012-2015, Grzegorz Russek (grzegorz.russek@gmail.com)
|
* Copyright (c) 2012-2026, Grzegorz Russek (grzegorz.russek@gmail.com)
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
@@ -282,18 +282,17 @@ namespace DynamORM
|
|||||||
else if (types[0] == typeof(DataTable))
|
else if (types[0] == typeof(DataTable))
|
||||||
{
|
{
|
||||||
using (IDataReader rdr = cmd.ExecuteReader())
|
using (IDataReader rdr = cmd.ExecuteReader())
|
||||||
mainResult = rdr.CachedReader().ToDataTable(binder.Name);
|
using (IDataReader cache = rdr.CachedReader())
|
||||||
|
mainResult = cache.ToDataTable(binder.Name);
|
||||||
}
|
}
|
||||||
else if (types[0].IsGenericEnumerable())
|
else if (types[0].IsGenericEnumerable())
|
||||||
{
|
{
|
||||||
Type argType = types[0].GetGenericArguments().First();
|
Type argType = types[0].GetGenericArguments().First();
|
||||||
if (argType == typeof(object))
|
if (argType == typeof(object))
|
||||||
{
|
{
|
||||||
IDataReader cache = null;
|
|
||||||
using (IDataReader rdr = cmd.ExecuteReader())
|
using (IDataReader rdr = cmd.ExecuteReader())
|
||||||
cache = rdr.CachedReader();
|
using (IDataReader cache = rdr.CachedReader())
|
||||||
|
mainResult = cache.EnumerateReader().ToList();
|
||||||
mainResult = cache.EnumerateReader().ToList();
|
|
||||||
}
|
}
|
||||||
else if (argType.IsValueType || argType == typeof(string))
|
else if (argType.IsValueType || argType == typeof(string))
|
||||||
{
|
{
|
||||||
@@ -302,12 +301,10 @@ namespace DynamORM
|
|||||||
|
|
||||||
object defVal = listType.GetDefaultValue();
|
object defVal = listType.GetDefaultValue();
|
||||||
|
|
||||||
IDataReader cache = null;
|
|
||||||
using (IDataReader rdr = cmd.ExecuteReader())
|
using (IDataReader rdr = cmd.ExecuteReader())
|
||||||
cache = rdr.CachedReader();
|
using (IDataReader cache = rdr.CachedReader())
|
||||||
|
while (cache.Read())
|
||||||
while (cache.Read())
|
listInstance.Add(cache[0] != null && cache[0] != DBNull.Value ? argType.CastObject(cache[0]) : defVal);
|
||||||
listInstance.Add(cache[0] != null && cache[0] != DBNull.Value ? argType.CastObject(cache[0]) : defVal);
|
|
||||||
|
|
||||||
mainResult = listInstance;
|
mainResult = listInstance;
|
||||||
}
|
}
|
||||||
@@ -318,15 +315,13 @@ namespace DynamORM
|
|||||||
|
|
||||||
object defVal = listType.GetDefaultValue();
|
object defVal = listType.GetDefaultValue();
|
||||||
|
|
||||||
IDataReader cache = null;
|
|
||||||
using (IDataReader rdr = cmd.ExecuteReader())
|
using (IDataReader rdr = cmd.ExecuteReader())
|
||||||
cache = rdr.CachedReader();
|
using (IDataReader cache = rdr.CachedReader())
|
||||||
|
while (cache.Read())
|
||||||
while (cache.Read())
|
{
|
||||||
{
|
if (cache[0] != null && cache[0] != DBNull.Value && Guid.TryParse(cache[0].ToString(), out Guid g))
|
||||||
if (cache[0] != null && cache[0] != DBNull.Value && Guid.TryParse(cache[0].ToString(), out Guid g))
|
listInstance.Add(g);
|
||||||
listInstance.Add(g);
|
}
|
||||||
}
|
|
||||||
|
|
||||||
mainResult = listInstance;
|
mainResult = listInstance;
|
||||||
}
|
}
|
||||||
@@ -336,18 +331,18 @@ namespace DynamORM
|
|||||||
if (mapper == null)
|
if (mapper == null)
|
||||||
throw new InvalidCastException(string.Format("Don't know what to do with this type: '{0}'.", argType.ToString()));
|
throw new InvalidCastException(string.Format("Don't know what to do with this type: '{0}'.", argType.ToString()));
|
||||||
|
|
||||||
IDataReader cache = null;
|
|
||||||
using (IDataReader rdr = cmd.ExecuteReader())
|
using (IDataReader rdr = cmd.ExecuteReader())
|
||||||
cache = rdr.CachedReader();
|
using (IDataReader cache = rdr.CachedReader())
|
||||||
|
{
|
||||||
|
var lt = typeof(List<>);
|
||||||
|
var ltc = lt.MakeGenericType(argType);
|
||||||
|
var instance = Activator.CreateInstance(ltc) as IList;
|
||||||
|
|
||||||
var lt = typeof(List<>);
|
foreach (var item in cache.EnumerateReader())
|
||||||
var ltc = lt.MakeGenericType(argType);
|
instance.Add(DynamicExtensions.Map(item, argType));
|
||||||
var instance = Activator.CreateInstance(ltc) as IList;
|
|
||||||
|
|
||||||
foreach (var item in cache.EnumerateReader())
|
mainResult = instance;
|
||||||
instance.Add(DynamicExtensions.Map(item, argType));
|
}
|
||||||
|
|
||||||
mainResult = instance;
|
|
||||||
|
|
||||||
//mainResult = cache.EnumerateReader().MapEnumerable(argType).ToList();
|
//mainResult = cache.EnumerateReader().MapEnumerable(argType).ToList();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* DynamORM - Dynamic Object-Relational Mapping library.
|
* DynamORM - Dynamic Object-Relational Mapping library.
|
||||||
* Copyright (c) 2012-2015, Grzegorz Russek (grzegorz.russek@gmail.com)
|
* Copyright (c) 2012-2026, Grzegorz Russek (grzegorz.russek@gmail.com)
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* DynamORM - Dynamic Object-Relational Mapping library.
|
* DynamORM - Dynamic Object-Relational Mapping library.
|
||||||
* Copyright (c) 2012-2015, Grzegorz Russek (grzegorz.russek@gmail.com)
|
* Copyright (c) 2012-2026, Grzegorz Russek (grzegorz.russek@gmail.com)
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* DynamORM - Dynamic Object-Relational Mapping library.
|
* DynamORM - Dynamic Object-Relational Mapping library.
|
||||||
* Copyright (c) 2012-2015, Grzegorz Russek (grzegorz.russek@gmail.com)
|
* Copyright (c) 2012-2026, Grzegorz Russek (grzegorz.russek@gmail.com)
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* DynamORM - Dynamic Object-Relational Mapping library.
|
* DynamORM - Dynamic Object-Relational Mapping library.
|
||||||
* Copyright (c) 2012-2015, Grzegorz Russek (grzegorz.russek@gmail.com)
|
* Copyright (c) 2012-2026, Grzegorz Russek (grzegorz.russek@gmail.com)
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* DynamORM - Dynamic Object-Relational Mapping library.
|
* DynamORM - Dynamic Object-Relational Mapping library.
|
||||||
* Copyright (c) 2012-2015, Grzegorz Russek (grzegorz.russek@gmail.com)
|
* Copyright (c) 2012-2026, Grzegorz Russek (grzegorz.russek@gmail.com)
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* DynamORM - Dynamic Object-Relational Mapping library.
|
* DynamORM - Dynamic Object-Relational Mapping library.
|
||||||
* Copyright (c) 2012-2015, Grzegorz Russek (grzegorz.russek@gmail.com)
|
* Copyright (c) 2012-2026, Grzegorz Russek (grzegorz.russek@gmail.com)
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* This code file is based on Kerosene ORM solution for parsing dynamic
|
* This code file is based on Kerosene ORM solution for parsing dynamic
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* DynamORM - Dynamic Object-Relational Mapping library.
|
* DynamORM - Dynamic Object-Relational Mapping library.
|
||||||
* Copyright (c) 2012-2015, Grzegorz Russek (grzegorz.russek@gmail.com)
|
* Copyright (c) 2012-2026, Grzegorz Russek (grzegorz.russek@gmail.com)
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* DynamORM - Dynamic Object-Relational Mapping library.
|
* DynamORM - Dynamic Object-Relational Mapping library.
|
||||||
* Copyright (c) 2012-2015, Grzegorz Russek (grzegorz.russek@gmail.com)
|
* Copyright (c) 2012-2026, Grzegorz Russek (grzegorz.russek@gmail.com)
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* DynamORM - Dynamic Object-Relational Mapping library.
|
* DynamORM - Dynamic Object-Relational Mapping library.
|
||||||
* Copyright (c) 2012-2015, Grzegorz Russek (grzegorz.russek@gmail.com)
|
* Copyright (c) 2012-2026, Grzegorz Russek (grzegorz.russek@gmail.com)
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* DynamORM - Dynamic Object-Relational Mapping library.
|
* DynamORM - Dynamic Object-Relational Mapping library.
|
||||||
* Copyright (c) 2012-2015, Grzegorz Russek (grzegorz.russek@gmail.com)
|
* Copyright (c) 2012-2026, Grzegorz Russek (grzegorz.russek@gmail.com)
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* DynamORM - Dynamic Object-Relational Mapping library.
|
* DynamORM - Dynamic Object-Relational Mapping library.
|
||||||
* Copyright (c) 2012-2015, Grzegorz Russek (grzegorz.russek@gmail.com)
|
* Copyright (c) 2012-2026, Grzegorz Russek (grzegorz.russek@gmail.com)
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* DynamORM - Dynamic Object-Relational Mapping library.
|
* DynamORM - Dynamic Object-Relational Mapping library.
|
||||||
* Copyright (c) 2012-2015, Grzegorz Russek (grzegorz.russek@gmail.com)
|
* Copyright (c) 2012-2026, Grzegorz Russek (grzegorz.russek@gmail.com)
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* DynamORM - Dynamic Object-Relational Mapping library.
|
* DynamORM - Dynamic Object-Relational Mapping library.
|
||||||
* Copyright (c) 2012-2015, Grzegorz Russek (grzegorz.russek@gmail.com)
|
* Copyright (c) 2012-2026, Grzegorz Russek (grzegorz.russek@gmail.com)
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* DynamORM - Dynamic Object-Relational Mapping library.
|
* DynamORM - Dynamic Object-Relational Mapping library.
|
||||||
* Copyright (c) 2012-2015, Grzegorz Russek (grzegorz.russek@gmail.com)
|
* Copyright (c) 2012-2026, Grzegorz Russek (grzegorz.russek@gmail.com)
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* DynamORM - Dynamic Object-Relational Mapping library.
|
* DynamORM - Dynamic Object-Relational Mapping library.
|
||||||
* Copyright (c) 2012-2015, Grzegorz Russek (grzegorz.russek@gmail.com)
|
* Copyright (c) 2012-2026, Grzegorz Russek (grzegorz.russek@gmail.com)
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* DynamORM - Dynamic Object-Relational Mapping library.
|
* DynamORM - Dynamic Object-Relational Mapping library.
|
||||||
* Copyright (c) 2012-2015, Grzegorz Russek (grzegorz.russek@gmail.com)
|
* Copyright (c) 2012-2026, Grzegorz Russek (grzegorz.russek@gmail.com)
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* DynamORM - Dynamic Object-Relational Mapping library.
|
* DynamORM - Dynamic Object-Relational Mapping library.
|
||||||
* Copyright (c) 2012-2015, Grzegorz Russek (grzegorz.russek@gmail.com)
|
* Copyright (c) 2012-2026, Grzegorz Russek (grzegorz.russek@gmail.com)
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* DynamORM - Dynamic Object-Relational Mapping library.
|
* DynamORM - Dynamic Object-Relational Mapping library.
|
||||||
* Copyright (c) 2012-2015, Grzegorz Russek (grzegorz.russek@gmail.com)
|
* Copyright (c) 2012-2026, Grzegorz Russek (grzegorz.russek@gmail.com)
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* DynamORM - Dynamic Object-Relational Mapping library.
|
* DynamORM - Dynamic Object-Relational Mapping library.
|
||||||
* Copyright (c) 2012-2015, Grzegorz Russek (grzegorz.russek@gmail.com)
|
* Copyright (c) 2012-2026, Grzegorz Russek (grzegorz.russek@gmail.com)
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* DynamORM - Dynamic Object-Relational Mapping library.
|
* DynamORM - Dynamic Object-Relational Mapping library.
|
||||||
* Copyright (c) 2012-2015, Grzegorz Russek (grzegorz.russek@gmail.com)
|
* Copyright (c) 2012-2026, Grzegorz Russek (grzegorz.russek@gmail.com)
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
Reference in New Issue
Block a user