public EntityCustom Clone() { EntityCustom entityCustom = new EntityCustom(Name); for (int i = 0; i < Fields.Count; i++) { entityCustom[Fields[i].FieldName] = Fields[i].FieldValue; } return(entityCustom); }
public static IList <EntityCustom> TransDataTableToEntityCustomList(DataTable dt, string name) { IList <EntityCustom> list = new List <EntityCustom>(); EntityCustom entityCustom = null; for (int i = 0; i < dt.Rows.Count; i++) { entityCustom = new EntityCustom(name); foreach (DataColumn column in dt.Columns) { entityCustom.SetValue(column.ColumnName, dt.Rows[i][column]); } list.Add(entityCustom); } return(list); }
public Sp_itemContent() { this.entityCus = new EntityCustom("sp_itemContent"); }
public Sys_sysConfig() { entityCus = new EntityCustom("sys_sysConfig"); }
public Sys_sysAddress() { this.entityCus = new EntityCustom("sys_sysAddress"); }
public Sys_sysSort() { entityCus = new EntityCustom("sys_sysSort"); }
public Sp_sysSort() { this.entityCus = new EntityCustom("sp_sysSort"); }
public Sys_sizeGroup() { entityCus = new EntityCustom("sys_sizegroup"); }
public Sys_sysPropertyValue() { entityCus = new EntityCustom("sys_sysPropertyValue"); }
public Sp_item() { this.entityCus = new EntityCustom("sp_item"); }
public Sys_sysProperty() { entityCus = new EntityCustom("sys_sysProperty"); }
public Sys_shopShip() { entityCus = new EntityCustom("sys_shopShip"); }
public Sp_foodSecurity() { this.entityCus = new EntityCustom("sp_foodSecurity"); }
public Sp_customPropertyValue() { this.entityCus = new EntityCustom("sp_customPropertyValue"); }
public Sp_customProperty() { this.entityCus = new EntityCustom("sp_customProperty"); }
public Sys_sysEnumItem() { this.entityCus = new EntityCustom("sys_sysEnumItem"); }
public Sp_pictures() { this.entityCus = new EntityCustom("sp_pictures"); }
public Sys_sizeDetail() { entityCus = new EntityCustom("sys_sizedetail"); }