-
-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathEntityJustWorks.Documentation.txt
67 lines (61 loc) · 1.71 KB
/
EntityJustWorks.Documentation.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
namespace EntityJustWorks.SQL
{
public static class Table
{
FromClass<T>();
FromClassInstance<T>(System.Data.DataTable, T);
FromClassInstanceCollection<T>(T[]);
FromQuery(string, string, object[]);
ToAssembly(System.Data.DataTable);
ToClassInstanceCollection<T>(System.Data.DataTable);
ToCSharpCode(System.Data.DataTable, string);
}
public static class ClassInstance
{
FromQuery<T>(string, string, object[]);
FromDataTable<T>(System.Data.DataTable);
ToDataTable<T>();
ToDataTable<T>(T[]);
ToCSharpCode<T>(string);
ToAssembly<T>();
}
public static class SQLScript
{
CreateTable<T>(T[]);
CreateTable(System.Data.DataTable);
InsertInto<T>(T[]);
InsertInto(System.Data.DataRow);
}
public static class SQLScript.StoredProcedure
{
Insert(System.Data.DataTable);
Update(System.Data.DataTable, string);
GenerateParameterList(System.Data.DataTable);
}
public static class DatabaseQuery
{
ToClass<T>(string, string, object[]);
ToDataTable(string, string, object[]);
NonQueryCommand(string, string, object[]);
ToScalarValue<T>(string, string, object[]);
}
public static class Code
{
CreateClass(string);
CreateCode(System.Data.DataTable, string);
CreateCodeNamespace(System.Data.DataTable);
CreateConstructor(string);
CreateGeneratorOptions();
CreateProperty(string, System.Type);
}
public static class Helper
{
EscapeSingleQuotes(string);
ListToDelimitedString<T>(System.Collections.Generic.IEnumerable<T>, string, string, string);
RowToValueString(System.Data.DataRow);
TableToColumnsString(System.Data.DataTable);
IsValidDatatable(System.Data.DataTable, bool);
IsCollectionEmpty<T>(System.Collections.Generic.IEnumerable<T>);
IsNullableType(System.Type);
}
}