public static new SqlProperty[] InitializeProperties(string keyName) { SqlProperty[] tempProperty = BaseObject.InitializeProperties(keyName); SqlProperty[] sqlProperty = new SqlProperty[tempProperty.Length + 7]; tempProperty.CopyTo(sqlProperty, 0); sqlProperty[sqlProperty.Length - 7] = new SqlProperty("AccessModifier", "access_modifier", System.Data.SqlDbType.VarChar, 100); SqlProperty property = new SqlProperty("OwnerRef", "owner_ref", System.Data.SqlDbType.Int, 0); property.FieldName = "_owner"; sqlProperty[sqlProperty.Length - 6] = property; property = new SqlProperty("OwnerClass", "owner_class", System.Data.SqlDbType.VarChar, 40); property.FieldName = "_owner"; sqlProperty[sqlProperty.Length - 5] = property; sqlProperty[sqlProperty.Length - 4] = new SqlProperty("ParentId", "parent", System.Data.SqlDbType.Int, 0); sqlProperty[sqlProperty.Length - 3] = new SqlProperty("AttributeValueType", "value_type", System.Data.SqlDbType.Int, 0); sqlProperty[sqlProperty.Length - 3].FieldName = "_valueType"; sqlProperty[sqlProperty.Length - 2] = new SqlProperty("Type", "type", System.Data.SqlDbType.VarChar, 128); property = new SqlProperty("Value", "value", System.Data.SqlDbType.VarChar, 255); property.AlternativeSqlName = "text_value"; property.AlternativeSize = 0; property.AlternativeSqlDataType = System.Data.SqlDbType.NText; property.ÑonditionPropertyName = "ValueType"; property.ÑonditionNotValue = Dersa.Interfaces.ValueType.Value; sqlProperty[sqlProperty.Length - 1] = property; return(sqlProperty); }
public static new SqlProperty[] InitializeProperties(string keyName) { SqlProperty[] tempPropery = Object.InitializeProperties(keyName); SqlProperty[] sqlProperty = new SqlProperty[tempPropery.Length + 1]; tempPropery.CopyTo(sqlProperty, 0); sqlProperty[sqlProperty.Length - 1] = new SqlProperty("Name", "name", System.Data.SqlDbType.VarChar, 128); return(sqlProperty); }
public static new SqlProperty[] InitializeProperties(string keyName) { SqlProperty[] tempProperty = BaseClass.InitializeProperties(keyName); SqlProperty[] sqlProperty = new SqlProperty[tempProperty.Length + 1]; tempProperty.CopyTo(sqlProperty, 0); sqlProperty[sqlProperty.Length - 1] = new SqlProperty("StereotypeId", "stereotype", System.Data.SqlDbType.Int, 0); sqlProperty[sqlProperty.Length - 1].FieldName = "_stereotype"; return(sqlProperty); }
public static new SqlProperty[] InitializeProperties(string keyName) { SqlProperty[] tempProperty = StereotypedObject.InitializeProperties(keyName); SqlProperty[] sqlProperty = new SqlProperty[tempProperty.Length + 2]; tempProperty.CopyTo(sqlProperty, 0); sqlProperty[sqlProperty.Length - 2] = new SqlProperty("ParentId", "parent", System.Data.SqlDbType.Int, 0); sqlProperty[sqlProperty.Length - 2].FieldName = "_parent"; sqlProperty[sqlProperty.Length - 1] = new SqlProperty("Rank", "rank", System.Data.SqlDbType.Int, 0); return(sqlProperty); }
public static new SqlProperty[] InitializeProperties(string keyName) { SqlProperty[] tempProperty = BaseObject.InitializeProperties(keyName); SqlProperty[] sqlProperty = new SqlProperty[tempProperty.Length + 1]; tempProperty.CopyTo(sqlProperty, 0); SqlProperty property = new SqlProperty("AccountType", "type", System.Data.SqlDbType.TinyInt, 0); property.FieldName = "_type"; sqlProperty[sqlProperty.Length - 1] = property; return(sqlProperty); }
public static SqlProperty[] InitializeProperties(string keyName) { SqlProperty[] sqlProperty = new SqlProperty[5]; sqlProperty[0] = new SqlProperty("Id", keyName, System.Data.SqlDbType.Int, 0); sqlProperty[1] = new SqlProperty("Occur", "occur", System.Data.SqlDbType.DateTime, 0); sqlProperty[2] = new SqlProperty("Changer", "changer", System.Data.SqlDbType.VarChar, 128); sqlProperty[3] = new SqlProperty("OwnerAccountId", "owner_account", System.Data.SqlDbType.Int, 0); sqlProperty[3].FieldName = "_owner_account"; sqlProperty[4] = new SqlProperty("Identity", "guid", System.Data.SqlDbType.UniqueIdentifier, 0); return(sqlProperty); }