Class CopyMapper
Inheritance
System.Object
CopyMapper
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: ArgentSea.Pg.dll
Syntax
public static class CopyMapper
Methods
|
Improve this Doc
View Source
Add<TShard, TModel>(ShardSetBatch<TShard>, IList<TModel>, String)
Declaration
public static ShardSetBatch<TShard> Add<TShard, TModel>(this ShardSetBatch<TShard> batch, IList<TModel> models, string tableName)
where TShard : IComparable where TModel : class, new()
Parameters
Type |
Name |
Description |
ShardSetBatch<TShard> |
batch |
|
System.Collections.Generic.IList<TModel> |
models |
|
System.String |
tableName |
|
Returns
Type Parameters
Name |
Description |
TShard |
|
TModel |
|
|
Improve this Doc
View Source
Add<TShard, TRecord>(ShardSetBatch<TShard>, IList<ShardKey<TShard, TRecord>>, String, PgParameterMapAttribute, PgParameterMapAttribute)
Declaration
public static ShardSetBatch<TShard> Add<TShard, TRecord>(this ShardSetBatch<TShard> batch, IList<ShardKey<TShard, TRecord>> keys, string tableName, PgParameterMapAttribute shardIdDefinition, PgParameterMapAttribute recordIdDefinition)
where TShard : IComparable where TRecord : IComparable
Parameters
Returns
Type Parameters
Name |
Description |
TShard |
|
TRecord |
|
|
Improve this Doc
View Source
Add<TShard, TModel>(ShardSetBatch<TShard>, List<TModel>, String)
Declaration
public static ShardSetBatch<TShard> Add<TShard, TModel>(this ShardSetBatch<TShard> batch, List<TModel> models, string tableName)
where TShard : IComparable where TModel : class, new()
Parameters
Type |
Name |
Description |
ShardSetBatch<TShard> |
batch |
|
System.Collections.Generic.List<TModel> |
models |
|
System.String |
tableName |
|
Returns
Type Parameters
Name |
Description |
TShard |
|
TModel |
|
|
Improve this Doc
View Source
Add<TShard, TRecord>(ShardSetBatch<TShard>, List<ShardKey<TShard, TRecord>>, String, PgParameterMapAttribute, PgParameterMapAttribute)
Declaration
public static ShardSetBatch<TShard> Add<TShard, TRecord>(this ShardSetBatch<TShard> batch, List<ShardKey<TShard, TRecord>> keys, string tableName, PgParameterMapAttribute shardIdDefinition, PgParameterMapAttribute recordIdDefinition)
where TShard : IComparable where TRecord : IComparable
Parameters
Returns
Type Parameters
Name |
Description |
TShard |
|
TRecord |
|
|
Improve this Doc
View Source
Add<TShard, TModel, TResult>(DatabaseBatch<TResult>, IList<TModel>, String)
Declaration
public static DatabaseBatch<TResult> Add<TShard, TModel, TResult>(this DatabaseBatch<TResult> batch, IList<TModel> models, string tableName)
where TModel : class, new()
Parameters
Type |
Name |
Description |
DatabaseBatch<TResult> |
batch |
|
System.Collections.Generic.IList<TModel> |
models |
|
System.String |
tableName |
|
Returns
Type Parameters
Name |
Description |
TShard |
|
TModel |
|
TResult |
|
|
Improve this Doc
View Source
Add<TShard, TModel, TResult>(DatabaseBatch<TResult>, List<TModel>, String)
Declaration
public static DatabaseBatch<TResult> Add<TShard, TModel, TResult>(this DatabaseBatch<TResult> batch, List<TModel> models, string tableName)
where TModel : class, new()
Parameters
Type |
Name |
Description |
DatabaseBatch<TResult> |
batch |
|
System.Collections.Generic.List<TModel> |
models |
|
System.String |
tableName |
|
Returns
Type Parameters
Name |
Description |
TShard |
|
TModel |
|
TResult |
|
|
Improve this Doc
View Source
Add<TShard, TModel, TResult>(ShardBatch<TShard, TResult>, IList<TModel>, String)
Declaration
public static ShardBatch<TShard, TResult> Add<TShard, TModel, TResult>(this ShardBatch<TShard, TResult> batch, IList<TModel> models, string tableName)
where TShard : IComparable where TModel : class, new()
Parameters
Type |
Name |
Description |
ShardBatch<TShard, TResult> |
batch |
|
System.Collections.Generic.IList<TModel> |
models |
|
System.String |
tableName |
|
Returns
Type Parameters
Name |
Description |
TShard |
|
TModel |
|
TResult |
|
|
Improve this Doc
View Source
Add<TShard, TRecord, TResult>(ShardBatch<TShard, TResult>, IList<ShardKey<TShard, TRecord>>, String, PgParameterMapAttribute, PgParameterMapAttribute)
Declaration
public static ShardBatch<TShard, TResult> Add<TShard, TRecord, TResult>(this ShardBatch<TShard, TResult> batch, IList<ShardKey<TShard, TRecord>> keys, string tableName, PgParameterMapAttribute shardIdDefinition, PgParameterMapAttribute recordIdDefinition)
where TShard : IComparable where TRecord : IComparable
Parameters
Returns
Type Parameters
Name |
Description |
TShard |
|
TRecord |
|
TResult |
|
|
Improve this Doc
View Source
Add<TShard, TModel, TResult>(ShardBatch<TShard, TResult>, List<TModel>, String)
Declaration
public static ShardBatch<TShard, TResult> Add<TShard, TModel, TResult>(this ShardBatch<TShard, TResult> batch, List<TModel> models, string tableName)
where TShard : IComparable where TModel : class, new()
Parameters
Type |
Name |
Description |
ShardBatch<TShard, TResult> |
batch |
|
System.Collections.Generic.List<TModel> |
models |
|
System.String |
tableName |
|
Returns
Type Parameters
Name |
Description |
TShard |
|
TModel |
|
TResult |
|
|
Improve this Doc
View Source
Add<TShard, TRecord, TResult>(ShardBatch<TShard, TResult>, List<ShardKey<TShard, TRecord>>, String, PgParameterMapAttribute, PgParameterMapAttribute)
Declaration
public static ShardBatch<TShard, TResult> Add<TShard, TRecord, TResult>(this ShardBatch<TShard, TResult> batch, List<ShardKey<TShard, TRecord>> keys, string tableName, PgParameterMapAttribute shardIdDefinition, PgParameterMapAttribute recordIdDefinition)
where TShard : IComparable where TRecord : IComparable
Parameters
Returns
Type Parameters
Name |
Description |
TShard |
|
TRecord |
|
TResult |
|
|
Improve this Doc
View Source
Add<TShard, TRecord, TChildId>(ShardSetBatch<TShard>, IList<ShardChild<TShard, TRecord, TChildId>>, String, PgParameterMapAttribute, PgParameterMapAttribute, PgParameterMapAttribute)
Declaration
public static ShardSetBatch<TShard> Add<TShard, TRecord, TChildId>(this ShardSetBatch<TShard> batch, IList<ShardChild<TShard, TRecord, TChildId>> keys, string tableName, PgParameterMapAttribute shardIdDefinition, PgParameterMapAttribute recordIdDefinition, PgParameterMapAttribute childIdDefinition)
where TShard : IComparable where TRecord : IComparable where TChildId : IComparable
Parameters
Returns
Type Parameters
Name |
Description |
TShard |
|
TRecord |
|
TChildId |
|
|
Improve this Doc
View Source
Add<TShard, TRecord, TChildId>(ShardSetBatch<TShard>, List<ShardChild<TShard, TRecord, TChildId>>, String, PgParameterMapAttribute, PgParameterMapAttribute, PgParameterMapAttribute)
Declaration
public static ShardSetBatch<TShard> Add<TShard, TRecord, TChildId>(this ShardSetBatch<TShard> batch, List<ShardChild<TShard, TRecord, TChildId>> keys, string tableName, PgParameterMapAttribute shardIdDefinition, PgParameterMapAttribute recordIdDefinition, PgParameterMapAttribute childIdDefinition)
where TShard : IComparable where TRecord : IComparable where TChildId : IComparable
Parameters
Returns
Type Parameters
Name |
Description |
TShard |
|
TRecord |
|
TChildId |
|
|
Improve this Doc
View Source
Add<TShard, TRecord, TChildId, TResult>(ShardBatch<TShard, TResult>, IList<ShardChild<TShard, TRecord, TChildId>>, String, PgParameterMapAttribute, PgParameterMapAttribute, PgParameterMapAttribute)
Declaration
public static ShardBatch<TShard, TResult> Add<TShard, TRecord, TChildId, TResult>(this ShardBatch<TShard, TResult> batch, IList<ShardChild<TShard, TRecord, TChildId>> keys, string tableName, PgParameterMapAttribute shardIdDefinition, PgParameterMapAttribute recordIdDefinition, PgParameterMapAttribute childIdDefinition)
where TShard : IComparable where TRecord : IComparable where TChildId : IComparable
Parameters
Returns
Type Parameters
Name |
Description |
TShard |
|
TRecord |
|
TChildId |
|
TResult |
|
|
Improve this Doc
View Source
Add<TShard, TRecord, TChildId, TResult>(ShardBatch<TShard, TResult>, List<ShardChild<TShard, TRecord, TChildId>>, String, PgParameterMapAttribute, PgParameterMapAttribute, PgParameterMapAttribute)
Declaration
public static ShardBatch<TShard, TResult> Add<TShard, TRecord, TChildId, TResult>(this ShardBatch<TShard, TResult> batch, List<ShardChild<TShard, TRecord, TChildId>> keys, string tableName, PgParameterMapAttribute shardIdDefinition, PgParameterMapAttribute recordIdDefinition, PgParameterMapAttribute childIdDefinition)
where TShard : IComparable where TRecord : IComparable where TChildId : IComparable
Parameters
Returns
Type Parameters
Name |
Description |
TShard |
|
TRecord |
|
TChildId |
|
TResult |
|