An alternative to UBB.threads
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
FLocal/Core/DB/ITableSpec.cs

31 lines
534 B

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace FLocal.Core.DB {
public interface ITableSpec {
string name {
get;
}
string idName {
get;
}
}
public static class ITableSpecExtensions {
public static ColumnSpec getIdSpec(this ITableSpec table) {
return new ColumnSpec(table, table.idName);
}
public static ColumnSpec getColumnSpec(this ITableSpec table, string column) {
return new ColumnSpec(table, column);
}
}
}